MateoSoetsu
New Member
- Reaction score
- 9
Trigger:
- TaKG4
- Events
- Time - Every 1.00 seconds of game time
- Conditions
- Actions
- Set TempUnitGroup = (Units in (Playable map area) matching ((Level of Throw a Kiss Hidden for (Matching unit)) Greater than 0))
- Unit Group - Pick every unit in TempUnitGroup and do (Actions)
- Loop - Actions
- Set TempPointArray[(Custom value of (Picked unit))] = (Position of (Picked unit))
- Unit - Order (Picked unit) to Human Priest - Inner Fire (Random unit from (Units within 600.00 of TempPointArray[(Custom value of (Picked unit))] matching (((Matching unit) has buff Throw a Kiss (gremlin buff)) Equal to False)))
- Loop - Actions
- Custom script: call DestroyGroup(udg_TempUnitGroup)
- Custom script: call RemoveLocation(udg_TempPointArray)
- Events
I am receiving and error on the last line trying to destroy the point array. Can someone tell me how to fix it. Please don't point me in the direction of a tutorial, I have it bookmarked and it isn't helping me in this situation.
The trigger is used to force units to auto-cast Inner Fire on enemies.
The trigger works without trying to remove the leak but errors when I try to remove it.