Jump to content
Sign in to follow this  
general

lock/unlock

Recommended Posts

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 rock.gif

Share this post


Link to post
Share on other sites

<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? smile_o.gif

Share this post


Link to post
Share on other sites
Should stop them from jumping out? smile_o.gif

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

u could do something like

NOT(guy in vehicle insertnamehere)

guy moveindriver/cargo/gunner insernamehere

rock.gif

Share this post


Link to post
Share on other sites

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

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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×