What is the meaning of life? Dank Memes.
Posts
6
Respect
Forum Rank
Legless Crawler
Primary Group
Community Scripter
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!Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. |
Good work, anyway we can change the "Souls Needed" text to just "Zombies Left"?
Using this script apparently breaks triggers. Me and a friend had to remove it in order for custom triggers to work.
Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
Snippy
Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. |
First of all - Thanks for releasing your script! Second of all, is this script just counting the zombies that have spawned? So it's max number would be that of 24 (the total possible instances of zombies on a map at one time).
Not a true representation of the zombies to go?
I tried replacing your code, but it did not work for me?
Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. |
I have a bit of a question... why in the get_zw_count function, why do you write:
instead of:
This way is more efficient because the game doesn't need to handle memory allocation, as well as the counter which in your code is just hidden in the array. This is also more efficient because it doesn't have to handle as many function calls as the currently standing code does.
Dubcraft, why increase it one by one, when you can just take the entire array......
this script is to get the total amount of zombies for the round, not the total amount of zombies alive.