Talk:GetGameRestarted
Revision as of 18:06, 19 July 2015 by imported>JT (→A friendly warning: new section)
A friendly warning
Pay close attention to the phrase "exactly once":
if ( GetGameRestarted || GetGameLoaded ) Print "Foo!" endif ... if ( GetGameRestarted || GetGameLoaded ) Print "Bar!" endif
Inside the same script, this will print "Foo!" but will never print "Bar!" -- each use of the function automatically resets its use for that script. If you're not careful with your use of this function, it can result in prolonged frustration. =) --JT (talk) 19:06, 19 July 2015 (EDT)