afisakov
You can change this now in User CP.
- Reaction score
- 37
I have a number of lines of the form:
this is an example but many of them are in same format. I already display to player to avoid player group leaks.
Does anything else from this line leak and need to be cleaned up?
P.S. "g" and "exp" are local integers
I asked because I saw some map makers define the string to a variable and then set it to null later, but I never knew why or if that was needed.
Code:
call DisplayTimedTextToPlayer(GetOwningPlayer(GetTriggerUnit()),0,0,1.00,(GetHeroProperName(GetTriggerUnit())+": |cffff0000quest 1 reward: "+I2S(g)+" gold, "+I2S(exp)+" exp|R"))
Does anything else from this line leak and need to be cleaned up?
P.S. "g" and "exp" are local integers
I asked because I saw some map makers define the string to a variable and then set it to null later, but I never knew why or if that was needed.