Point in direction.
Moderator: Moderators
Point in direction.
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.
Re: Point in direction.
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.
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.
Re: Point in direction.
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.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.
Re: Point in direction.
S44 has such a thing implemented in a mix of lua and cob. It's not the cleanest implementation though.
Re: Point in direction.
Okay thanks all, tinkering will commence.