Jump to content
Sign in to follow this  
CombatComm

How do I insert simple vehicle respawn script into a spawned (createvehicle) init

Recommended Posts

I put the respawn script syntax right there in the same trigger as the createvehicle.

a10 = ["a10", 15, 10, 5, FALSE] execVM "vehicle.sqf"

I defined the vehicles name in the respawn script and the spawn script. The vehicle spawns just fine however once destroyed it does not REspawn. I tried the respawn script on a static (placed in editor) vehicle and it worked fne. Appreciate any help on this

Share this post


Link to post
Share on other sites

Try this:

_veh setVehicleInit "veh = [this, 600, 0, 0, FALSE, FALSE] execVM ""vehicle_respawn.sqf""; ";
processInitCommands;

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  

×