OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: unkie on 20 Jan 2003, 06:48:44
-
hi all, i was wondering how to make units of a group stay in the precise position where you put them....e.g like when you place them individually, ungrouped. When they're in a group, they start out in the right position, but then automatically move back into formation, even if you start them with "none" under the special box. Preferably without using disableai "move"
-
put a 'hold' waypoint over them
-
"_x stop TRUE" forEach units your_grp
your_grp being the name of your group. You get group names by putting your_group_name=group this into one of the group members' init field.
This will make everyone in the group stop and stay still until you do a:
"_x stop FALSE" forEach units your_grp
at which point they'll regroup again. And that bs in the manual about the Stop command being obsolete...disregard. ::) At least 'til they find an "enableAI" command...
G'luck!
Wolfrug out.
-
thanks a lot, that works perfect! :)
-
...At least 'til they find an "enableAI" command...
=========================================
lol