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


Caravel Forum : DROD Boards : Architecture : Scripting (Challenge)
New Topic New Poll Post Reply
Poster Message
1stCortez
Level: Goblin
Avatar
Rank Points: 28
Registered: 01-28-2014
IP: Logged
icon Scripting (+2)  
Ok I am creating a hold and i need help with the challenge so
the chellange is to complete the room without leting puff form fluff and dont know how to do it I'm really bad at programing decision making :/
01-11-2015 at 09:22 AM
View Profile Send Private Message to User Show all user's posts This architect's holds Quote Reply
kieranmillar
Level: Smitemaster
Rank Points: 2668
Registered: 07-11-2014
IP: Logged
icon Re: Scripting (+2)  
This is pretty quick and easy to make if the requirement is no fluff is allowed to form at all rather than a particular puff, so I thought it might be easier for your learning to make it and let you look at the resulting script rather than try to explain it. I'm about to go out now but ask if you've got any questions and I'll happily answer them later.

Step 1: Copy the following to your clipboard:
  Set var "ChallengeFail" = 0
  If ... 
        Wait for clean room 
     Go to Skip to End
  If End 
  Wait for clean room 
  If ... 
        Wait until var "ChallengeFail" = 0
     Challenge completed Say No to Fluff
  If End 
Label Skip to End


Step 2: Create a character somewhere in the room and press Ctrl+Shift+B to paste the above code into his code box.

Step 3: Copy the following code:
  Wait for event Puff merged into fluff
  Set var "ChallengeFail" = 1


Step 4: Copy it into a DIFFERENT SECOND character by using Ctrl+Shift+B.

This challenge will trigger the turn AFTER you clear the room if you are successful at the challenge.
01-11-2015 at 11:33 AM
View Profile Send Private Message to User Show all user's posts High Scores This architect's holds Quote Reply
1stCortez
Level: Goblin
Avatar
Rank Points: 28
Registered: 01-28-2014
IP: Logged
icon Re: Scripting (0)  
It works! Thank you very much, I'll probably gonna need more help with future levels/scripting so if you have some free time would you help me? :)
01-11-2015 at 12:37 PM
View Profile Send Private Message to User Show all user's posts This architect's holds Quote Reply
kieranmillar
Level: Smitemaster
Rank Points: 2668
Registered: 07-11-2014
IP: Logged
icon Re: Scripting (+1)  
I'm happy to help out with any scripting questions you have as much as I can. First of all though I'd make sure you understand what's happening in the above script as you can learn a bit about basic scripting from that example and may be able to implement some more challenges you have by modifying that one.

Don't forget that you can press F1 when in the editor to get to a help page that explains how to use each script command and what it does.
01-11-2015 at 10:16 PM
View Profile Send Private Message to User Show all user's posts High Scores This architect's holds Quote Reply
1stCortez
Level: Goblin
Avatar
Rank Points: 28
Registered: 01-28-2014
IP: Logged
icon Re: Scripting (0)  
The F1 button actually don't help xD But thanks for help/future help :D
01-12-2015 at 02:34 PM
View Profile Send Private Message to User Show all user's posts This architect's holds Quote Reply
RoboBob3000
Level: Smitemaster
Avatar
Rank Points: 1978
Registered: 10-23-2003
IP: Logged
icon Re: Scripting (+1)  
Give a man a script, he eats for a day.

Teach a man to script, he regularly misses meals due to all of the time he instead spends scripting.

____________________________
http://beepsandbloops.wordpress.com/
01-13-2015 at 01:43 AM
View Profile Send Private Message to User Show all user's posts This architect's holds Quote Reply
disoriented
Level: Smitemaster
Avatar
Rank Points: 2379
Registered: 08-07-2007
IP: Logged
icon Re: Scripting (+2)  
I still consider the ultimate achievement in Drod scripting to be
Click here to view the secret text


____________________________
34th Skywatcher

Best to PM me, since I might miss your message on CaravelNet chat.
01-13-2015 at 04:10 AM
View Profile Send Private Message to User Send Email 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 : Scripting (Challenge)
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.