ruff 102 Posted May 13, 2005 i want all my units to disembark the chopper with me using the transport unload waypoint ive searched and found this i put in on a trigger with west activation and on the waypoint act:cmd="GETOUT"; "_x action [cmd,dbh]" foreach units dd1 group being dd1 and chopper being dbh but it doesnt seem to work once the helicopter has landed it only ejects u when using a move way point Share this post Link to post Share on other sites
QBA69 1 Posted May 13, 2005 It's because command "action get out" is insufficient - you need also "unassignVehicle" command to make units disembark vehicle. Share this post Link to post Share on other sites
QBA69 1 Posted May 14, 2005 Try this: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">; unload.sqs - getting group to disembark chopper _helo = _this select 0 _group = _this select 1 {_x action ["get out", _helo]} foreach (Units _group) "unassignVehicle _x" foreach (Units _group) exit To exec this script - [myhelo, mygroup] exec "unload.sqs" where - myhelo and mygroup are the names of your chopper and the group to disembark the chopper. Btw, in general choppers in OFP can give you a headache so I'd highly recommend you to search for a specific script to use them in your mission. For a start read OFPEC Helicopter Tutorial by tflarsen which you can find here. And besides, on OFPEC site (editors depot) you'll find many useful scripts for choppers - take a look here. Share this post Link to post Share on other sites
ruff 102 Posted May 14, 2005 thanks will try also ive read most the stuff at ofpec on choppers i know scripts to do this but id rather just use activation and condition fields of triggers but anyway thanks m8 Share this post Link to post Share on other sites