OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Lazy Lays on 23 Mar 2005, 20:47:11
-
HELP with this annoying problem
Okay I have spawned a group of soldiers (eastgroup1) using the create command
then i placed a trigger:
activation by East
on activation: Eastgroup1 move getpos wp11
and I have placed an object called wp11
My plan was when the group of soldiers spawned in the trigger area they would move to the waypoint "wp11" but the group of soldiers are duing nothing !
Please help
Sorry for bad english
-
make sure you used the CreateUnit (http://www.ofpec.com/editors/comref.php?letter=C#createUnit) command and not the camcreate to create the men
and try
on activation: {_x domove getpos wp11} foreach units Eastgroup1
-
Thanks the move command is working ! ;D
-
Now how do I set Leader and formation ?
-
Leader will be the unit created first, if all of them have the same rank. Formation is set using: groupOne setFormation "LINE". Possible formations are: "COLUMN", "STAG COLUMN", "WEDGE", "ECH LEFT", "ECH RIGHT", "VEE", "LINE".
-
wow - coincidence! :o I've just been struggling with the same problem. Thanks for the tip.
-
If i want to change leader in eastgroup1
what would the command line look like ?