
Co1t3r
Joined: Dec 13, 2008
|
Posted: Sep 26, 2009 11:44 PM
Msg. 1 of 5
I was playing some firefight maps and decided to make my own. Any way I need some help with something.
I need a way of testing the trigger volume to see whether or not the current wave has been defeated. Here's my problem; if I use "sleep until, volume test objects" the script continues as long as a player (me) is in the volume and I end up spawning all the waves at once. Is there another way of doing this? Edited by colter13 on Sep 26, 2009 at 11:45 PM
|
|
|

Gamma927
Joined: Jun 12, 2008
Steam: gamma927
|
Posted: Sep 27, 2009 12:19 AM
Msg. 2 of 5
I don't think anyone did it that way. I did a series of dormant scripts which wake each other, kind of like dominoes. Once the startup script executes, the next dormant script executes after the first wave is completed. Then, the next dormant, and then the next.
|
|
|

Co1t3r
Joined: Dec 13, 2008
|
Posted: Sep 27, 2009 12:21 AM
Msg. 3 of 5
:-/ I see want you mean, but I don't get how each script knows when to wake the next.
|
|
|

Gamma927
Joined: Jun 12, 2008
Steam: gamma927
|
Posted: Sep 27, 2009 12:29 AM
Msg. 4 of 5
Sleep until all AI in wave are dead. Modify points. Wake next script.
|
|
|

Co1t3r
Joined: Dec 13, 2008
|
Posted: Sep 27, 2009 12:50 AM
Msg. 5 of 5
Ahhh so ai_living_count is what I needed to test. I just continued inside of the startup script since mine isn't too complicated. I'm good now thanks for the help.
|
|
|