general 0 Posted August 29, 2004 ok I wan't to unlock an apc with soldiers when it has reached a beach. when a grenade explodes on the apc the soldiers just jump out in the water. a locked vehicle should do it but then the soldiers can't get out on the beach. so what's the code fore locking/unlocking vehicles Share this post Link to post Share on other sites
Duck of Death 0 Posted August 29, 2004 apc lock true apc lock false Share this post Link to post Share on other sites
The Real Armstrong 0 Posted August 29, 2004 locking doesn't work on AI. They still should jump out of the water. Share this post Link to post Share on other sites
cain2001 0 Posted August 29, 2004 <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">Description: Disable parts of AI behaviour to get fine control over unit. Section is one of "TARGET" (disable watching assinged target), "AUTOTARGET" (disable independed target assigning and watching unknown targets), "MOVE" (disable movement). Example: soldierOne disableAI "Move" Should stop them from jumping out? Share this post Link to post Share on other sites
general 0 Posted August 29, 2004 but then they won't move out either Share this post Link to post Share on other sites
djukel 0 Posted August 29, 2004 Should stop them from jumping out? Not working. I already tried to figure it out but it is impossible. Pilots always jump out. Share this post Link to post Share on other sites
NeMeSiS 11 Posted August 29, 2004 u could do something like NOT(guy in vehicle insertnamehere) guy moveindriver/cargo/gunner insernamehere Share this post Link to post Share on other sites
The Real Armstrong 0 Posted August 29, 2004 That will cause him to jump out again as soon as he gets in. Better would be to setdammage 0 the APC in a loop untill it has reached the beach. Or just setcaptive it. :beat: *Gets Shot* :beat: Share this post Link to post Share on other sites
blackdog~ 0 Posted August 30, 2004 Could always put them on an alternate place on the playing arena and then when the APC reaches the shore you can easily use a trigger right on the shoreline to make them get back in (x moveincargo y - repeat as neccesary) and then having them all disembark with a trigger right after that. Share this post Link to post Share on other sites