Main Menu
  • Welcome to The RPG Maker Resource Kit.

Help!

Started by vikk, October 07, 2006, 11:04:37 AM

0 Members and 1 Guest are viewing this topic.

vikk

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...
OMG I have bad karma!

Blizzard

#1
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

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.
Get King of Booze for Android, for iOS, for OUYA or for Windows!
Visit our website.
You can also love/hate us on Facebook or the game itself.



Get DropBox, the best free file syncing service there is!

Winged

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



vikk

#3
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.
OMG I have bad karma!