OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting Multiplayer => Topic started by: Taggart on 24 Apr 2005, 04:20:09

Title: AI Exit Vehicle
Post by: Taggart on 24 Apr 2005, 04:20:09
In a multiplayer mission, I have three separate enemy squads arriving in a lorry. I have tried unload and get out synchronised and also transport unload, but neither seems to work, how can I tell each squad to exit the vehicle  ::)
Title: Re:AI Exit Vehicle
Post by: Silencer on 24 Apr 2005, 16:47:56
#DISEMBARK
"[_X] OrderGetIN False" ForEach Units _Group
_Vehicle Action ["TR UNLOAD"]


_Group is name of your group
_Vehicle is name of the lorry


Or you could use my script:
Reinforcements script (http://www.ofpec.com/editors/browse.php?browseon=&browsewhat=-1&catselected=-1_-1&catagory=-1&subcategory=-1_-1&numreturn=25&displayformat=0&ofpv=1&searchwhat=1&searchlevel=0&searchwhat=1&searchopts=&searchstring=silencer)
Title: Re:AI Exit Vehicle
Post by: Taggart on 24 Apr 2005, 17:33:17
Thanks alot, will give it a go  :)
Title: Re:AI Exit Vehicle
Post by: Silencer on 24 Apr 2005, 20:39:45
Good luck!
Title: Re:AI Exit Vehicle
Post by: Taggart on 24 Apr 2005, 20:50:40
It worked fine, I used "[_x] OrderGetIN False" ForEach Units g1 on the activation line of the trucks Transport Unload waypoint, I just repeated it for each group identity  :)