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!
set and local are keywords that never exist together, as local is only for defining the variable and set is for changing values(which you can't do to a variable before defining or in the same line)
set and local are keywords that never exist together, as local is only for defining the variable and set is for changing values(which you can't do to a variable before defining or in the same line)
The example that immediately follows that code in the tutorial makes it quite clear that the "local variable name"-part is meant to be replaced with the local variable name you are using.
tutorial said:
JASS:
set local variable name = value
Examples: set Nova_Caster = GetTriggerUnit() - [In GUI: Set Nova_Caster = (Triggering Unit)]
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.