Message For Schiman

For problems with creating games or for reporting bugs of the Tool.
User avatar
StarLite
An Adventure Creator
Posts: 444
Joined: 02 Jul 2005, 18:32
Contact:

Message For Schiman

Post: #75075 StarLite
27 Jan 2010, 19:37

Hi Schiman,

I just wanted to let you know that the script you helped me with in another message worked great on another puzzle. I can't get to the room you helped me with it for, but I used the script on two other rooms with the same type puzzles and the script worked on both rooms. I think I have an idea why my box puzzle didn't work by looking at your script. Just wanted to say thank you for the help and that the script worked. This is the script

Code: Select all

setnum(SymbolCounter;+1)
setnum(SymbolCode[SymbolCounter];[SymbolNumber])
if_num(SymbolCounter;>4)
 {
   if_num(SymbolCode1;*Your first number*)
     if_num(SymbolCode2;*Your second number*)
       if_num(SymbolCode3;*Your third number*)
         if_num(SymbolCode4;*Your fourth number*)
           if_num(SymbolCode5;*Your fifth number*)
             {
                cutscene(*name of the cutscene with the self-destruction*)
                break()
             }
   setnum(SymbolCounter;0)
   *do whatever you want when the code was not right. An errorsound or something like that would be good. The player has then the possibility to notice when his code was wrong.*
 }
StarLite Palace
Game Creators

http://indieadventure.freeforums.org/

User avatar
Schiman
PaC-DK God
Posts: 1171
Joined: 20 Dec 2006, 21:48
Contact:

Post: #75076 Schiman
27 Jan 2010, 21:33

ahm... no problem^^ :comp: .


Return to “Problems and Bugs”

Who is online

Users browsing this forum: No registered users and 1 guest