How do I create a system where my hero get's off a horse he got onto whenever the player presses the 'A' button[given that he is on it].
I need to show a message[Do you want to dismount?], Ask for a reply[yes or no], then if the player says yes, create an event for a horse just behind the player and change the player graphic. I can't do it using events... It's some thing like
if Input.trigger?(Input::A)
... SOMETHING HAPPENS ...
end
Please tell me what I should replace "...SOMETHING HAPPENS..." with...
Actually you CAN do it using events. Make a common event using the "Change Actor graphic" event command. I have a transforming event myself, it looks like this here:
Click me (http://img206.imageshack.us/img206/3864/snap57fc2.png)
You will only need to change some minor details. (Don't let yourself get confused by the 2 Soul Blades, these are 2 weapons with the same name, but different icons.)
Don't forget to turn on the switch that is set as precondition when you approach a horse.
yea, like bliz pointed out, it can be easily done with events. A more simpler way might be...
<>Conditional Branch: [Hero] graphic is whatever the horse one is
<>Conditional Branch: The button "A" is pressed.
<>Message: Do you want to dismount?
<>Show choices: Yes, No
<>[Yes Handler]
<>Change Actor Graphic: (self explainitory)
<>[No Handler]
<>Branch End (or something else)
<>[Else Handler]
<>End event
<>[Else Handler]
<>End event
<>
Hope you understand this, I did this straight from my head so mistakes could of been made (best if you follow bliz's example, this is just if you have no idea what the hell he is going on about, which I highly doubt)
~Winged
Thanks a lot! but how do I create an event behind the player when he presses a certain key. For example the player can't enter a house when he is on a horse but if he dismounts and goes inside the house, when he comes back out, the horse should still be there so he can remount.