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.

[SOLVED]checking a party member's state with a call event

i want to set a variable equal to a party member's status id. i tried game_variables[1] = game_party.actors[0].state but nothing happens. any help would be appreciated.

EDIT: i'd like to do this with a call script function.
 
You already know the call, it's just that you forget you needed to update it just in case it's updated during gameplay. (This means you should include this in some update method of the Scene_Map class or something like that).

Edit...

Well, I just thought the missing $ character before $game_party.actors was just a silly mistake that he could fix on his own by taking a look at default scripts. Even so you should never forget about those details or it won't ever work.
 
I'm not sure what the calls are, but I know you need to add the $ symbol before them. I.E. $game_variables[1] works, but I'm not sure what the call for the second would be. I'm thinking this might be better placed in Script Support, but I'll leave it here for now unless you want me to move it because I'm not sure. :P
 

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