Jump to content
Sign in to follow this  
Gameadd1cted

How to stop a vehicle's engine

Recommended Posts

Hi,

Is there anyway for a vehicle to stop its engine when it reaches a waypoint?

I tried with dostop _x and _x engineOn false; the vehicle halts at the waypoint but the engine still run.

There is only 1 waypoint.

Thank you.

Share this post


Link to post
Share on other sites

If it's a tank, having a gunner (turning the turret) will restart engine, because BIS was lazy.

Share this post


Link to post
Share on other sites
driver action ["engineOff", vehicle driver];

:)

Wow, that was hard :o

Is there any place where you can see a complete list of actions?

Thank you.

Share this post


Link to post
Share on other sites

Got it working :)

assignedDriver _x action ["engineOff", _x];

If it's a tank, having a gunner (turning the turret) will restart engine, because BIS was lazy.

Now that one is ugly... I tried:

assignedDriver _x action ["getout", _x];

but the gunner will just return to his place after a second or so.

Ain't no way to make him just do nothing in the turret? Maybe fading away? :)

Share this post


Link to post
Share on other sites

heh..

try (assuming _x is your vehicle)

_x setfuel 0;

or

gunner _x disableAI "MOVE";

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  

×