When I searched google I find something interesting for my game : http://moonpearl-gm.blogspot.com/2012/02/verbal-interaction-system.html
But when I download the demo, I become confused with it's configuration, so I create this based on that idea
Features
- Player will choice some action to interact with event (ex : "Talk to Aluxes", "Examine Aluxes", etc)
- A small HUD above the event to show the actions player can choose
- Switch the choice with Q and W
How to Use
Insert a comment to first line in the event
Comment:
<Action = A,B,C,D,E,....>
<Action += F,G,H,....>
<Object = ObjectName>
A,B,C,D,E,F,G,H.... = All choice available for that event
ObjectName = The Event Name showed in the HUD
example
Then after that use conditional branch to determine all the choice
Conditional Branch : $interaction == 'a' # (in conditional branch, all the choice will be downcased)
@> Text : .....
Branch End
example (Click To Enlarge)
Why did it confuse you?
ReplyDeletelink for XP demo don't work anymore !! Please upload it again !!
ReplyDeletereuploaded
DeleteI have everything working but when you're finished talking to an NPC an error comes up with line 16 of the interpreter 2 script. You can still choose how you want to interact with the event, but it gives you an error for undefined local variable or method for "scene".
ReplyDeletescript reuploaded (not demo)
Delete