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.

Refreshing the Players

Star

Sponsor

Okay. So. I'm working on a game where you have an action battle system that runs on a game map using events. I'm using several scripts including pathfinding and XAS ABS. And all is working fine. Except when I made an event that lets you change the current player you're controlling. Everything worked fine. Except that the game doesn't recognize the player change until you open the menu. Like. It thinks I'm still Actor 001 when I'm actually Actor 006. And Yes. I did try replacing Actor 001 with a duplicate 007. What does opening the menu do that makes everything refresh? I tried adding a little script in the event that went
$game_player.refresh
$game_party.refresh

but neither of them worked? What am I missing? What can refresh the list so it doesn't think I'm still the previous actor?
 

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