Announcement: Why not try our official idea generator for inspiration when making puzzles?


Caravel Forum : DROD Boards : Architecture : Tar baby formed
New Topic New Poll Post Reply
Poster Message
robin
Level: Smitemaster
Avatar
Rank Points: 845
Registered: 09-01-2004
IP: Logged
icon Tar baby formed (0)  
For some reason, "wait for event Tar baby formed" doesn't work in my script below
(flashing message are used to know where the script went wrong)
(I also changed "wait" to 1 and 0 turns, to see if there is any difference, but that's not the case)
"Tar stuff stabbed" and "serpent smashed" both work just fine



  If ... 
        Wait for clean room 
     Go to NOK
  If End 
  Flashing message loop entered
Label Loop
  If ... 
        Wait for event Tar baby formed
     Flashing message tar baby formed
     Go to NOK
  If End 
  If ... 
        Wait for event Tarstuff stabbed
     Flashing message tarstuff stabbed
     Go to NOK
  If End 
  If ... 
        Wait for event Serpent smashed
     Flashing message serpent smashed
     Go to OK
  If End 
  Wait 0
  Go to Loop
Label OK
  Wait for clean room 
  Challenge completed
  End 
Label NOK


____________________________
Click here to view the secret text

09-24-2015 at 08:51 AM
View Profile Send Private Message to User Send Email to User Show all user's posts High Scores Quote Reply
Nuntar
Level: Smitemaster
Avatar
Rank Points: 4854
Registered: 02-20-2007
IP: Logged
icon Re: Tar baby formed (+1)  
Because of the order in which things happen in a turn, a simple
Wait for event Tar baby formed
Flashing message tar baby formed
will display the flashing message on the next turn, and using a loop to check if "Wait for event Tar baby formed" happened the current turn will never trigger.

Are there any other tar babies in the room? If not, you could use "Wait for entity type Tar baby at (whole room)".

____________________________
50th Skywatcher
09-24-2015 at 09:15 AM
View Profile Send Private Message to User Show all user's posts High Scores This architect's holds Quote Reply
New Topic New Poll Post Reply
Caravel Forum : DROD Boards : Architecture : Tar baby formed
Surf To:


Forum Rules:
Can I post a new topic? No
Can I reply? No
Can I read? Yes
HTML Enabled? No
UBBC Enabled? Yes
Words Filter Enable? No

Contact Us | CaravelGames.com

Powered by: tForum tForumHacks Edition b0.98.8
Originally created by Toan Huynh (Copyright © 2000)
Enhanced by the tForumHacks team and the Caravel team.