- Joined
- Aug 19, 2007
- Messages
- 109
Greetings all! I am currently working on an ability in which an archer forms ghost-forms of itself while casting shockwave on a pivot point. It works completely, however the Temp_Point i create has certain issues:
When i use Custom Script: call RemoveLocation (udg_Temp_Point)
Custom Script: call RemoveLocation (udg_Temp_Point2)
and Custom Script: call RemoveLocation (udg_Temp_Point3)
just before the first 'wait game-time seconds' in one loop of the integer A
Then, the trigger does not function as it should.
On the NEXT and consecutive loops (There are 5 in total), the Temp_Point2 becomes the default 'centre of entire map'. (But Temp_Point stays on the casting unit variable).
I don't understand though...does the custom script remove the variable altogether? because the temp_Point2 only works when i DONT have the custom script.
Does that mean i MUST have a memory leak (15 times) every time i cast that spell?
Here is the Map: Please help!
When i use Custom Script: call RemoveLocation (udg_Temp_Point)
Custom Script: call RemoveLocation (udg_Temp_Point2)
and Custom Script: call RemoveLocation (udg_Temp_Point3)
just before the first 'wait game-time seconds' in one loop of the integer A
Then, the trigger does not function as it should.
On the NEXT and consecutive loops (There are 5 in total), the Temp_Point2 becomes the default 'centre of entire map'. (But Temp_Point stays on the casting unit variable).
I don't understand though...does the custom script remove the variable altogether? because the temp_Point2 only works when i DONT have the custom script.
Does that mean i MUST have a memory leak (15 times) every time i cast that spell?
Here is the Map: Please help!