ai respawning [H2]

Technical Chatter here.
Post Reply
User avatar
snakejknight




Trickster Wave Pyre Wordewatician 500

Posts: 693
Joined: Sun Jun 04, 2006 1:00 pm
Location: North Hollywood California

ai respawning [H2]

Post by snakejknight »

i am working on an ai mod and i ran into a couple of problems...

i have tried two scripts and they both did exactly the same thing...

what i want to do is make an ai battle, and when each squad looses one guy, one more respawns... but no matter what they constantly spawn and its only the 2nd squad... here are the scripts i tried

Code: Select all

(script continuous respawner
 (sleep_until (<= (ai_living_count 0000) 0))
 (ai_place 0000)
)

Code: Select all

(script startup respawner
 (sleep_until (<= (ai_living_count 311) 0))
 (ai_place 0000)
)
with this one i made several scripts each one specifying a squad... emars jhonson i named 311, the next one i named 312 and injected the script w/ the number 312, and so on with the first four squads... once again only the first one spawned, and it constantly spawned.

i renamed the first one to 312, and the 2nd one to 315, and still only the first one spawned, and it spawned constantly

any ideas?
Post Reply