AI respawning?
AI respawning?
So i can make AI, but after i kill them, how do i get them to respawn? Is it a script?
Well, in the AI thread somewhere around page 30, there is a script. I think it was
I tried it but couldn't get it spawn anything other than the second ai squad chunk...wierd.
Also, you could change startup to static(?) to make it respawn more than once.
Code: Select all
(script startup respawner
(sleep_until (<= (ai_living_count 331) 0))
(ai_place 0000)
Also, you could change startup to static(?) to make it respawn more than once.
Last edited by Spammy on Sun Sep 17, 2006 5:09 pm, edited 1 time in total.
- WastingBody
- Posts: 195
- Joined: Mon Sep 19, 2005 5:07 pm
Code: Select all
(script startup respawner
(sleep_until (<= (ai_living_count 311) 0))
(ai_place 0000)
)
So, my problem is that I cannot get it to respawn the first(chunk 0) squad.
And it will only compile if you put the squad to respawn's name and the triggering squad's(ai_living_count 311) to a number; it won't compile if you give it an actual name...
I made that script
Rename your AI to 311, for example where it says johonson rename to 311
Code: Select all
(script startup respawner
(sleep_until (<= (ai_living_count 331) 0))
(ai_place 311)