OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: rapper on 28 Feb 2003, 17:50:37

Title: ??
Post by: rapper on 28 Feb 2003, 17:50:37
everytime i parachute a group from a helicopter, the helicopter always comes back to take the group with him. How can I make the helicopter just move forward to his next waypoint??

thanx
Title: Re:??
Post by: Ranger on 28 Feb 2003, 19:17:00
Give the group a name.  E.g.:

squad1 = group this

Put this code in the initialization field of the group's leader.

Then, unassign them from the helicopter.  E.g.:

"unassignVehicle _x" forEach units squad1

Put this code in the script (or trigger or waypoint) that ejects the group.

Good luck!