Actor Toggle Form??

Hi everyone

I want to give my main character the ability to toggle between her normal humanoid form, and a faster deer form.

As this is my first game, I have little knowledge of how to go about this:

1) Should I somehow modify the sprint mechanic? So that normally your character can't sprint, but when she unlocks her deer form, she then unlocks sprint feature (where the actor graphic changes into a deer)

--is this even possible? I suppose I could have it "locked" and "unlocked" via map settings.

--I also assume there is a way to implement a stamina bar for sprinting, but have no idea how D:

2) I read something online that says I can set it as a skill in the database, and use a common event to switch the sprite sheets

--but like #1 I'd want it to drain a stamina resource (maybe mana points??) for every step you take in deer form, kicking you out of deer form automatically if you run out.

  Sadly I don't know how to do that 🙁

So if anyone knows how to do this, or of any scripts that will do this, I'd really appreciate it!

Thank you
Give your character a "Transform" skill and link it to a common event. Create a switch called "Deer Form". If she is initially human, this switch will be off to start with.


In the common event, do a Conditional Branch based on the Deer Form switch - if it's on, turn it off and use whatever combination of Change Actor Graphic, Change Actor Class, Change anything else necessary to transform her back into human; otherwise if it's off, turn it on and do the same commands to transform her into Deer.


As far as sprinting, if you want the DEFAULT speed to go faster, you will need to modify the Game_Player dash method to make it return true if the specified button is pressed OR the switch you've reserved is true.

Original thread: https://forums.rpgmakerweb.com/threads/actor-toggle-form.42722/