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


Caravel Forum : DROD Boards : Architecture : Help! with scripting!
New Topic New Poll Post Reply
Poster Message
Anson
Level: Delver
Rank Points: 67
Registered: 02-05-2007
IP: Logged
icon Help! with scripting! (0)  
HELP! i cant make the NPC respond to a yes or no, how do i make a "Yes" answer or a "no" answer?!?!?

____________________________
Click here to view the secret text

Please, I admire Guthix, I solve problems, I fix rules too. I used to be a Scoundril, Complaining about the forums, But now i changed.
Click here to view the secret text

08-24-2007 at 11:08 AM
View Profile Send Private Message to User Send Email to User Visit Homepage Show all user's posts Quote Reply
Jeff_Ray...
Level: Smitemaster
Avatar
Rank Points: 962
Registered: 05-16-2005
IP: Logged
icon Re: Help! with scripting! (+3)  
Use the commands If and Else.

Ex:
If...
Question: Do you like potatoes?
Beethro: I love potatoes!
Else
Beethro: I hate potatoes!

I THINK it's how it's done.

____________________________
I make Let's Plays too!
Click here to find out my LPs' progress, and find out what I plan to tackle next!

Currently playing:
Click here to view the secret text


My Holds:
-Completed:
Click here to view the secret text

-Work in Progress:
Click here to view the secret text

08-24-2007 at 12:08 PM
View Profile Send Private Message to User Send Email to User Show all user's posts High Scores This architect's holds Quote Reply
Anson
Level: Delver
Rank Points: 67
Registered: 02-05-2007
IP: Logged
icon Re: Help! with scripting! (0)  
Thanks i will Try it, its nice to meet everyone again :)

____________________________
Click here to view the secret text

Please, I admire Guthix, I solve problems, I fix rules too. I used to be a Scoundril, Complaining about the forums, But now i changed.
Click here to view the secret text

08-24-2007 at 12:10 PM
View Profile Send Private Message to User Send Email to User Visit Homepage Show all user's posts Quote Reply
hartleyhair
Level: Smiter
Rank Points: 307
Registered: 08-05-2007
IP: Logged
icon Re: Help! with scripting! (+1)  
I've always done it like this:

Click here to view the secret text


____________________________
I'm currently working on Jerrik's Dungeon, an oldschool Hold for TCB.
08-24-2007 at 02:10 PM
View Profile Send Private Message to User Show all user's posts This architect's holds Quote Reply
mrimer
Level: Legendary Smitemaster
Avatar
Rank Points: 5056
Registered: 02-04-2003
IP: Logged
icon Re: Help! with scripting! (0)  
Yeah, both these ways will work. Answer Option may also be used when more or different choices than "Yes" or "No" are required.

____________________________
Gandalf? Yes... That's what they used to call me.
Gandalf the Grey. That was my name.
I am Gandalf the White.
And I come back to you now at the turn of the tide.
08-24-2007 at 05:04 PM
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 : Help! with scripting!
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.