When attempting the level Wizard’s Door using the LUA language, I cannot get the number from Laszlo. I can get his instructions, so know what to do with it to get the next number.
I use the following code but the line ‘local secret2 = secret+7’ gives the error “Attempt to perform arithmetic on a null value: undefined”
--# Move to Laszlo and get his secret number. self:moveXY(30, 13) local secret = self:findNearestFriend().getSecret() --# get instructions self:say("Secret?") --# Follow Laszlo's instructions to get Erzsebet's magic number! --# Move to Erzsebet and say her magic number. local secret2 = secret+7 self:moveXY(17, 26) self:say(secret2)
(edited to format code correctly)