Jump to content
Sign in to follow this  
slizeroid

Recreating units

Recommended Posts

Can you make a script that creates a unit everytime on dies. I know it may sound like a respawn but I want it to work for every west unit on the map (50+ per side)

Share this post


Link to post
Share on other sites

Easy. Just have every unit you want to have recreated execute a script on initialization. Have the script reloop untill the unit is detected dead, create the type this unit at the getpos this place, group this, with init line to reexecute the same script. exit script when it's recreated. you could have a script that initially checks for each west guy and executes {[_x] exec "script.sqs"} foreach (list allwesttrigger).

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  

×