- Joined
- Nov 9, 2011
- Messages
- 326
so i was working on a spell but now when the spell ends i need to de-index the target point.
Now i know how to do that i am just wondering about the third line here. do i need it ?
Now if i dont do the third line of code here that means that the last indexed point will remain and may cause leaks?
Can anyone help?
EDIT: edited the first line of code to include ''blizzard'' in tempint part
Now i know how to do that i am just wondering about the third line here. do i need it ?
-
Untitled Trigger 004
-
Events
-
Conditions
-
Actions
-
Custom script: call RemoveLocation(udg_Blizzard_Point[udg_Blizzard_tempInt])
-
Set Blizzard_Point[Blizzard_tempInt] = Blizzard_Point[Blizzard_Index]
-
Custom script: call RemoveLocation(udg_Blizzard_Point[udg_Blizzard_Index])
-
Set Blizzard_Index = (Blizzard_Index - 1)
-
-
Can anyone help?
EDIT: edited the first line of code to include ''blizzard'' in tempint part
Last edited: