Main Menu
  • Welcome to The RPG Maker Resource Kit.

A Problem whith a skill

Started by TX_fire, October 09, 2009, 06:49:37 PM

0 Members and 1 Guest are viewing this topic.

TX_fire

Hi

I wonder if someone could help me. I searched some Hour's in this forum but couldn't find anything at all.
Well a little description of my Problem:

I got a Project where the main char can transform in battle.
I got it how to transform him (with common events) but i don't know how do disable the changed actor graphic at the end of battle.
In addition comes i cupled the graphic change with a State change and that one should end too, at the end of battle.

Thanks

TX

shaz

The state should just have "release at end of battle" checked.

In your common event, you could set a flag to say the main character has transformed, and then - either in the script, or wherever you call Battle Processing, add a check to say if he's transformed, then transform him back.
Always remember you're unique.
Just like everybody else.

TX_fire

Thanks with this is one problem solved.

But how do i set a flag?
I don't know how to set the check eather.

shaz

use switches.  In the common event where he transforms, set a "player has transformed" switch to ON.
In all your events that initiate battle, right after the Battle Processing line, add a condition - IF "player has transformed" (use the switch here), turn the switch off, and change their graphic back.

This might make the player appear very briefly on the map as transformed, before they change back.


Always remember you're unique.
Just like everybody else.