Open MysticCity opened 9 years ago
AddPlayerVariable does not add any additional variable, nor does it use any current variable, making a "persistent variable" impossible at this time.
Example:
SpellPart1 active AddPlayerVariable, Player, testP Wait, 50 var testP = 5
SpellPart2 active if, testP == 5 SendMessage, Player, Woot! endif else SendMessage, Player, Boo. endelse
AddPlayerVariable does not add any additional variable, nor does it use any current variable, making a "persistent variable" impossible at this time.
Example:
SpellPart1 active AddPlayerVariable, Player, testP Wait, 50 var testP = 5
SpellPart2 active if, testP == 5 SendMessage, Player, Woot! endif else SendMessage, Player, Boo. endelse