Difference between revisions of "Talk:Scripting Tutorial: My Second Script"

no edit summary
imported>TheImperialDragon
(should be tested...)
imported>Jeepcreep
Line 9: Line 9:


:Have you tested it?  If so, does it still work? [[User:TheImperialDragon|TheImperialDragon]] 16:24, 30 May 2006 (EDT)
:Have you tested it?  If so, does it still work? [[User:TheImperialDragon|TheImperialDragon]] 16:24, 30 May 2006 (EDT)
::I've tested it and it only works that way anyhow. The first version simply does not produce the desired result: setting the controlvar to -1 after a wrong answer won't get you in the If-block of the OnActive-block again (as it tested for "controlvar == 0"), resulting in the cupboard actually not responding at all, you had two chances: either give the correct answer and open it and be happy or give the wrong answer, be punished and never be able to open it anyway.... --[[User:Jeepcreep|Jeepcreep]] 16:34, 30 May 2006 (EDT)
Anonymous user