Point in direction.

Point in direction.

Requests for features in the spring code.

Moderator: Moderators

Post Reply
Edible
Posts: 72
Joined: 09 Feb 2008, 01:46

Point in direction.

Post by Edible »

If it is at all possible, a commandd that would allow you to get units to rotate on the spot (or even within a small radius) to all face a specified point would be very useful.
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Re: Point in direction.

Post by Argh »

You can do so via LuaRules.

You can also probably do it fairly well with a Widget that sets a movepoint on the line between the Units and the target point.
User avatar
Pxtl
Posts: 6112
Joined: 23 Oct 2004, 01:43

Re: Point in direction.

Post by Pxtl »

Argh wrote:You can do so via LuaRules.

You can also probably do it fairly well with a Widget that sets a movepoint on the line between the Units and the target point.
And really, doing it by luaRules is appropriate. There is no user-command for "set facing", so making it an AI-only command would be nasty. If the user can't do it, 3rd-party Lua widgets shouldn't be the only way in.
User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6242
Joined: 29 Apr 2005, 01:14

Re: Point in direction.

Post by FLOZi »

S44 has such a thing implemented in a mix of lua and cob. It's not the cleanest implementation though.
Edible
Posts: 72
Joined: 09 Feb 2008, 01:46

Re: Point in direction.

Post by Edible »

Okay thanks all, tinkering will commence.
Post Reply

Return to “Feature Requests”