Page 1 of 1

Point in direction.

Posted: 31 Oct 2009, 22:51
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.

Re: Point in direction.

Posted: 31 Oct 2009, 23:08
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.

Re: Point in direction.

Posted: 31 Oct 2009, 23:56
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.

Re: Point in direction.

Posted: 01 Nov 2009, 02:00
by FLOZi
S44 has such a thing implemented in a mix of lua and cob. It's not the cleanest implementation though.

Re: Point in direction.

Posted: 02 Nov 2009, 13:59
by Edible
Okay thanks all, tinkering will commence.