Posts
85
Respect
12Add +1
Forum Rank
Rotting Walker
Primary Group
Member
Login Issues
Forgot password?Activate Issues
Account activation email not received? Wrong account activation email used?Other Problems?
Contact Support - Help Center Get help on the UGX Discord. Join it now!Get the axis(zombie) array and do the function dodamage(); on them.
Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. | |
Has shown excellence and experience in the area of custom mapping in the UGX-Mods community. |
Was wondering how I would make the zombies respawn when a player walks to far away from the zombies like on Mob of the Dead, I have an elevator and a teleporter setup but when the player uses one of them It puts them In an area the zombies can't get to unless they respawn
The way I went about this with zombie train is:
What this does is kill of any remaining zombies. I used a trigger mult... It will end the round and start the next one.
Hope this helps!
Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. | |
Has shown excellence and experience in the area of custom scripting in the UGX-Mods community. |
Untested Template
Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. | |
Has shown excellence and experience in the area of custom scripting in the UGX-Mods community. |
Did you create a new gsc for this and execute it correctly (may need to adjust max distance variable a little lower)
because it gets an array of the zombies of zombies once. that means i gets a list of 1 zombies at game start. then a new zombie spawn outside that array. so code wont affect it
Post Merge: May 27, 2014, 10:36:35 pm
this will work using your code but i would do this stuff using zombiemodespawner. no need of getting arrays.
Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. | |
Has shown excellence and experience in the area of custom scripting in the UGX-Mods community. |
Thats the thing you'd run zombie_check through a loop.
However I came up with a better idea which envoles the second function but as a defined function to an ai through round spawning in zombiemode gsc.
The previous script was just a quick knock up untested idea.
I'll post my new idea up in script form tomorrow. bit late for me right now, so I'll edit this part out.