slayer
New Member
- Reaction score
- 2
Hi!
I have a question on the Custom script: call RemoveLocation (udg_TempDLocation) used in this trigger:
Tome Spawn
Events
Unit - A unit Sells an item (from shop)
Conditions
(Item-type of (Sold Item)) Equal to Sacred Tome START Q
Actions
Set TempDLocation = (Center of Tome Spawn Point <gen>)
Destructible - Resurrect Tome Pedestal 0795 <gen> with (Max life of (Last created destructible)) life and Show birth animation
Destructible - Resurrect Demonic Gate (Horizontal) 1692 <gen> with (Max life of (Last created destructible)) life and Show birth animation
Custom script: call RemoveLocation (udg_TempDLocation)
The trigger works perfectly, but when I check it in leak checker it says "Location variable has not been removed". Is leak checker reliable? Or could the "Location variable has not been removed" result in something undesirable?
Or is there any other way to improve the script?
I have a question on the Custom script: call RemoveLocation (udg_TempDLocation) used in this trigger:
Tome Spawn
Events
Unit - A unit Sells an item (from shop)
Conditions
(Item-type of (Sold Item)) Equal to Sacred Tome START Q
Actions
Set TempDLocation = (Center of Tome Spawn Point <gen>)
Destructible - Resurrect Tome Pedestal 0795 <gen> with (Max life of (Last created destructible)) life and Show birth animation
Destructible - Resurrect Demonic Gate (Horizontal) 1692 <gen> with (Max life of (Last created destructible)) life and Show birth animation
Custom script: call RemoveLocation (udg_TempDLocation)
The trigger works perfectly, but when I check it in leak checker it says "Location variable has not been removed". Is leak checker reliable? Or could the "Location variable has not been removed" result in something undesirable?
Or is there any other way to improve the script?