Jump to content
Sign in to follow this  
LtCmdrBoon

Spawning enemy AI

Recommended Posts

I've read pages deep, and there is stuff about respawning dead AI / vechiles and getting them into vechiles or urban patrol scripts, but I'm looking for something a little more simple, could someone please help - I am noob at mission designing, so any cut'n'pastes and links to scripts appreciated smile_o.gif

Outline:

AI soilder1 patrols between wpoint A and wpoint B

AI soilder2 patrols between wpoint C and wpoint D

AI soilder3 patrols between wpoint E and wpoint F

etcetc

when any AI dies, I don't mind if they spawn at their "mission editor position" or a marker hidden in game, but I would like that soilder to return to it's patrol (eg AI soilder 2 would walk back to and patrol between waypoints C and D).

Once I have mastered this, I am going to use "IF RANDOM 100 > 75" infront of the whole script file, so it respawns AI 75% (or whatever) of the time, so the mission lasts longer, without spamming AI causing lag.

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  

×