I have a script set to activate in a world open event:
The problem is that my lines of variable declarations don't seem to do anything; the variables do not appear at all in the variable list. I've not tried to use them, but my assumption is: not seen, not heard (if it's not there, it can't be used).
What am I doing wrong? Oh, and by the way, option explicit is not set.
Sub WorldInit ()
World.SetVariable var1, "0"
World.SetVariable Var2, "0"
'etc
End Sub The problem is that my lines of variable declarations don't seem to do anything; the variables do not appear at all in the variable list. I've not tried to use them, but my assumption is: not seen, not heard (if it's not there, it can't be used).
What am I doing wrong? Oh, and by the way, option explicit is not set.