Moderator
M
Moderator
12th Dec 2015
IcemanBo: Too long as NeedsFix. Rejected.
09:05, 18th Jul 2012
Magtheridon96:
IcemanBo: Too long as NeedsFix. Rejected.
09:05, 18th Jul 2012
Magtheridon96:
-
- Set TempLoc = ....
- Set TempLoc = ....
The solution is to use TWO locations. TempLoc and TempLoc2.
You're doing this quite a lot in this script, so there are many leaks. - Instead of using your own knockback script, I would highly recommend using Bribe's Knockback 2D system.
- You should never destroy a trigger like that. You could cause handle stack corruption errors.
- In the first periodic trigger, the group leaks. Insert "set
bj_wantDestroyGroup = true" in custom script right above it, or store
the group in a variable, use it, then destroy it. - Your current method of indexing is pretty outdated. I would suggest using something like this.
- Don't create a footman for player 1 in the beginning to preload the spell, create a locust unit for neutral hostile.