Zelaron Gaming Forum  
Stats Arcade Portal Forum FAQ Community Calendar Today's Posts Search
Go Back   Zelaron Gaming Forum > Zelaron Gaming > RPGMaker

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next

 
Reply
Posted 2006-06-19, 04:52 PM in reply to phsyco025's post "Need help with rpg maker xp"
You need to think about what this event actually does:

1) First meeting, "Go get a potion"
2) Talked to her already, "So, do you have the potion? Yes/No"
3) Already gave her the potion, "Thanks for your help!"

3 different settings = 3 pages. Easy enough from there:

[Page 1]
No preconditions
Code:
<> Message: "I need a potion for some reason, go get it!"
<> Set variable [xxxx:PotionQuestState] to 1
<>
[Page 2]
Precondition: PotionQuestState greater than or equal to 1
Code:
<> Message: "Do you have the potion?"
<> Show choices: Yes, No
: [Yes] handler:
   <> Conditional branch: Potion possessed
      <> Items: Subtract 1 potion
      <> Message: "Thanks for this, have this key I guess"
      <> Items: Add 1 key
      <> Set variable [xxxx:PotionQuestState] to 2
      <>
   : Else Handler
      <> Message: "Don't lie to me, I'm old!"
      <>
   : End
: [No] handler
   <> Message: "You lazy good-for-nothing bum!"
   <>
: End
<>

[Page 3]
Precondition: PotionQuestState greater than or equal to 2
Code:
<> Message: "Thanks for your help!  Get off my lawn!"
<>

I recommend using variables for keeping track of how far along you are in any given quest. This saves switches and makes more sense overall because a quest is not ON/OFF, it is Not started/in progress/finished, and may have even more states within it (halfway done, interrupted, failed, etc)
Old
Profile PM WWW Search
BlueCube enjoys the static noises of ten television sets simultaneously tuned to 412.84 MHzBlueCube enjoys the static noises of ten television sets simultaneously tuned to 412.84 MHz
 
 
BlueCube
 



 

Bookmarks

« Previous Thread | Next Thread »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules [Forum Rules]
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 08:01 AM.
'Synthesis 2' vBulletin 3.x styles and 'x79' derivative
by WetWired the Unbound and Chruser
Copyright ©2002-2008 zelaron.com
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
This site is best seen with your eyes open.