Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
If you are talking about GUI globals, then it works for the array size.
Proof:
JASS:
// This piece of code is generated automatically for every single array.
set i=0
loop
exitwhen ( i > 10 ) // Note that I chose 10 for the array size in the variable editor.
set udg_STRING[i]="HELLO STRANGER!"
set i=i + 1
endloop
EDIT: Rephrased my first sentence as it could deceive someone.
It only works for indices up to "Size". Indices after that contain the default initialized value (zeroed) which is a combination of 0, 0.0 or null depending on the type. JASS arrays are dynamic arrays up to a size of 8192, the GUI Size field is only used for setting initial values.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.