Jump to content
Sign in to follow this  
novertigo

AI Respawn

Recommended Posts

Hi everyone. Ive been having recent trouble trying to find a tool and/or a workable script, and possibly learn, how to get AI to respawn on a map. I know this question has been asked many times but here it goes:

Ive done several searches, including posts here http://forums.bistudio.com/showthread.php?118408-AI-respawning which was drstrangeloves tools but the file is no longer there, and checking out http://www.armaholic.com/page.php?id=1086 which is an addon to the UPS by kronzsky, but I can not get that to work either because i think its for arma only. Im using Operation flashpoint GOTY 1.96 if that helps in any way.

My basic goal is to have AI soldiers respawn when killed and have a limit on respawns. If any one knows of a script or a tool that can help with this, id greatly appreciate this.

Share this post


Link to post
Share on other sites

Presumably you're referring to singleplayer.

Most crudely, you could just use setDammage 0 which brings units back to life with whatever equipment they had as a corpse.

Fancier scripts have the units laid out in the mission editor, and then use deleteVehicle at the start of the mission. This saves processor cycles but the groupnames, waypoints etc. are preserved. When they're needed, the units are createUnit'd.

Kronsky's UPS page is here, including a version for OFP.

Share this post


Link to post
Share on other sites

Thank you very much for the quick response guys. Its a bummer ofpec is down, it was my go to place, and had incredible scripts. I checked out that tutorial you posted vitamin, unfortunately it was only for player units, it did not work for AI units. ragequit, I do have that ups script, it works well but does not solve the respawn. It can be either single or multiplayer that the script can work.

Share this post


Link to post
Share on other sites

Thank you so much for that script zulu1! I had that years ago but lost the file. Since ofpec and strangelove is no longer around, Im glad you still had it! Going to try it out, and give you an update, thanks agian

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  

×