Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

In-Battle Graphic Change?

Alright, I have a skill set up where if used, the Heal1 animation is done, and then the screen flashes. However, during the flash, my character's graphic would change. I playtested it, and after selecting the spell, it only flashes, then I can't do anything other than close the window.

Can anyone set up an common event that, in battle only, will change my character's graphic?
 
This should be rather simple.  Just create a common event with Move Route>Change Graphic, then turn on a switch.  If you want the character to change back if the skill is used again, create a conditional branch and insert the above under When Switch [Whatever] is off.  In the else, use Move Route>Change Graphic to the original graphic, then turn the switch off.  So, here's what it would look like:

@>Conditional Branch: Switch [0003: Transform] == OFF
  @>Set Move Route: Player (Wait)
  :                        : $Graphic: 'Animal', 1
  @>Control Switches: [0003: Transform] = ON
  @>
:  Else
  @>Set Move Route: Player (Wait)
  :                        : $Graphic: 'Actor 1', 0
  @>Control Switches: [0003: Transform] = OFF
  @>
:  Branch End
@>

Then, attach it to a skill, and set the skill's Occasion to Only in Battle.  I think that's what you meant.  If you're using a script that creates a side view battle system or something, you'll have to contact the creator to find out how to change the battler graphic.

~Guardian1239
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top