Jump to content
pcc

Delete support vehicle if driver dies

Recommended Posts

I'm stuck on how to do this when drivers isn't in the vehicle.  Can't rely on count alive vehicle crew because the driver with support waypoint disembark when ready. 

 

Share this post


Link to post
Share on other sites

If the driver is in the vehicle at beginning you can do something like this:

 

theDriver setVariable ["ownVehicle", vehicle theDriver ];

 

Then if the driver dies:

 

deletevehicle (theDriver getVariable "ownVehicle");

 

  • Like 1

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

×