- Joined
- Apr 14, 2012
- Messages
- 2,901
Okay, After removing the arrays of some variables in this trigger, I noticed it no longer does what it's intended to do. It's supposed to create a circle of effects around the caster, move to the nearest enemy units, lift them off the ground (thanks to Maker's system), then create a final circle of effects.
Now, this is a spell I submitted in the Spells section, though I fixed the leaks, the Review also stated that some variables do not need their arrays, hence I removed them as I said in my topic sentence.
I do not know what caused this, all I know is that the problem occurred after a removed the arrays of:
ZS_CasterLoc, originally ZS_CasterLoc[ZS_CurrentIndex]
ZS_PickedUnit, originally ZS_PickedUnit[ZS_LoopInt]
ZS_PickedUnitLoc, originally ZS_PickedUnti[ZS_LoopInt]
and I also had a TempPoint2 variable, but the spell's review said I only needed the TempPoint variable, not TempPoint2.
So now, the trigger:
Thanks for reading, and I look forward to your help.
Now, this is a spell I submitted in the Spells section, though I fixed the leaks, the Review also stated that some variables do not need their arrays, hence I removed them as I said in my topic sentence.
I do not know what caused this, all I know is that the problem occurred after a removed the arrays of:
ZS_CasterLoc, originally ZS_CasterLoc[ZS_CurrentIndex]
ZS_PickedUnit, originally ZS_PickedUnit[ZS_LoopInt]
ZS_PickedUnitLoc, originally ZS_PickedUnti[ZS_LoopInt]
and I also had a TempPoint2 variable, but the spell's review said I only needed the TempPoint variable, not TempPoint2.
So now, the trigger:
|
Thanks for reading, and I look forward to your help.