Posts
7
Respect
Forum Rank
Legless Crawler
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!Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager. | |
Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. | |
BO3 Modtools Alpha | This user has access to the Black Ops 3 Modtools Alpha |
I didn't look into spawner when I did this, cause I'm a bit gun shy from the previous bugs and stuff, perhaps after beta, but what I did in the mean time is get an array of zombies continuously, in a while loop, and then thread a function on each of them in a foreach loop. In this function I would check if a specific attribute was defined, and if it wasn't, then I would define it and thread a function that would waittill death and do what I wanted, or what ever you want to do with this zombie, waittill damage or whatever. If the attribute was defined, I would simply return, meaning I was already tracking this zombies life.
In waw I didn't do things this way, I edited zombiemode or spawner, I forget already which, when they were damaged I would thread my function with my checks.
Here's a similar example:
Once more is sorted out, I would rather just use a function already thread on each zombie as they spawn.