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.

Checking character graphic?

Is there a call script that I could use in a conditional branch to check for the character/actor graphic? I know you can check for actors, but, was wondering if there is a call script that can check the graphic instead (i'm not really good at scripting) Thanks in advance  :grin:
 
Use a conditional branch, on page 4 check Script. Type in the following line:
Code:
$game_party.actors[0].character_name == "001-Fighter01"
This will check if your leading party member is set to Aluxes sprite. If not, the branch is not executed.

Oh, and note, if you want to check anyone else in your party, increase actors[0] yo actors[1] up to 3.

If you're having problems let me know.
 

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