- Joined
- Jan 12, 2011
- Messages
- 110
Hello,
I just wanted to ask several questions regarding JASS scripting.
1. What about "call DestroyEffectBJ(AddSpecialEffectLocBJ(Params...))" with param being the actual Special Effect creation ? Will this do any bad, leaks etc?
2. What about using "call TriggerSleepAction(X.Y)"? Is it safe to use in general? What about in loops? Any preference for this or for the "call PolledWait(X.Y)"?
3. Just to ensure - local variables MUST be always removed and then nulled, except for real/int/string? Or String should be also nulled?
Thanks for clarifying these queries!
I just wanted to ask several questions regarding JASS scripting.
1. What about "call DestroyEffectBJ(AddSpecialEffectLocBJ(Params...))" with param being the actual Special Effect creation ? Will this do any bad, leaks etc?
2. What about using "call TriggerSleepAction(X.Y)"? Is it safe to use in general? What about in loops? Any preference for this or for the "call PolledWait(X.Y)"?
3. Just to ensure - local variables MUST be always removed and then nulled, except for real/int/string? Or String should be also nulled?
Thanks for clarifying these queries!