Home   Help Search Login Register  

Author Topic: Force AI to stand looking forward  (Read 368 times)

0 Members and 1 Guest are viewing this topic.

Pravit

  • Guest
Force AI to stand looking forward
« on: 17 Jul 2005, 20:09:02 »
I'm making a cutscene with rows of soldiers standing at attention. The problem is the AI has the habit of turning to look at the group leader instead of just facing forward. Is there any simple way to make them stop turning around? I thought of making them doWatch something in the far distance, but maybe there's an easier way to freeze their movement. Thanks!

Dane

  • Guest
Re:Force AI to stand looking forward
« Reply #1 on: 17 Jul 2005, 20:48:34 »
In cutscenes you can always use the command stop:
NameOfUnit stop true, and to revert: NameOfUnit stop false

Or {_X stop true} forEach units groupname and
{_X stop false} forEach units groupname

The unit will not fire while in stop mode so the command is useless in combat.
« Last Edit: 17 Jul 2005, 20:55:39 by Dane »

Pravit

  • Guest
Re:Force AI to stand looking forward
« Reply #2 on: 18 Jul 2005, 00:03:38 »
Thanks, it works.