Instead of your basic Spawn system with a loop how could I do this instead?
- I'm creating a zombie game kind of based off of Nazi Zombies. How could I create a spawn system where it spawns zombies from one area on the map. Lets say for every round it multiplies it by *0.2 and where zombies only spawn when the round is started?
Any suggestions?
ID:273680
![]() Dec 22 2010, 4:01 am
|
|
![]() Dec 22 2010, 4:15 pm
|
|
Use a for() loop?
|
Don't forget to toss a delay in there somewhere, that loop is liable to overload if given the right conditions.
|
Wait for some reason it's not working I thought it was earlier but it's not and here's my setup.
area |
XxBloody NightmarexX wrote:
Wait for some reason it's not working I thought it was earlier but it's not and here's my setup. > I still need help. |
You need to be more specific. That is like:
Student - "I can't do the math problem" Teacher - "Well, what are you having trouble with?" Student - "My answer is wrong" |
In that code I don't see the spawn_zombies() proc called anywhere.. Also NEVER use usr in procs, ALWAYS use src.
|
You have a GLOBAL proc, in which you're using "usr" to calculate a number.
"usr" is nobody. "Usr" also shouldn't be used in procs, ax Xyphon has mentioned, except for actions where you're 100% sure the player has called them (ex: Mouse actions such as Click, DblClick, MouseExited, MouseEntered) and client/Topic(), mainly. Hence, your number is most likely nothing, thus not making zombies spawn. |