Difference between revisions of "Talk:Scripting Tutorial: My Second Script"
Talk:Scripting Tutorial: My Second Script (edit)
Revision as of 15:40, 30 May 2006
, 15:40, 30 May 2006no edit summary
imported>Jeepcreep |
imported>Jeepcreep |
||
Line 3: | Line 3: | ||
2nd) in case of a a wrong answer the controlvar has to be reset to "0" not to "-1". I already corrected it in your last code-example. | 2nd) in case of a a wrong answer the controlvar has to be reset to "0" not to "-1". I already corrected it in your last code-example. | ||
--[[User:Jeepcreep|Jeepcreep]] 15:32, 30 May 2006 (EDT) | --[[User:Jeepcreep|Jeepcreep]] 15:32, 30 May 2006 (EDT) | ||
for the sake of consistency: changed it in the previous code snippets as well. | |||
N.B.: Setting the controlvar to "-1" prevents to OnActivate from ever succeeding. The if-condition "==" could've been changed to "<" but then you're explanation regarding the double-equal sign would've been inconsistent. Hope this is ok. --[[User:Jeepcreep|Jeepcreep]] 15:40, 30 May 2006 (EDT) |