Is it possible to allow common events to run in the menu screen?
I'm trying to set up a common event that checks the hero's armour and weapon set-up, and then alters his sprite and battler to reflect the equipment he is wearing. Currently this is set up to run in parallel process constantly. But there are two issues here:
1) That's a constantly looping script, running over and over when most of the time it isn't needed. There's a chance it could contribute to lag.
2) It doesn't run in the menu screen. So when you select a new suit of armour to wear in the 'equipment' screen, and then exit back to the menu screen, the sprite on the menu is still shown to be wearing the old armour set, and will remain that way until the menu is exited altogether and then re-opened.
What i'd really like to do is set up the common event to be called when the 'B' button is pressed (mapped to Esc - opening and closing the menu). Since weapons and armour can only be changed from the menu, it's the only time i'd need the event. But although that button press is registered when I first press Esc to open the menu, it isn't registered when I press Esc to move back from the equip screen to the menu screen, or when I press Esc in the menu to return to the field screen. So the sprite is only updated after changing the equipment, exiting the menu, and then re-opening the menu.
Any thoughts? I presume it's possible to script somehow, but I can imagine this being kind of complex.
Thanks for reading :cheers:
-Silver-
I'm trying to set up a common event that checks the hero's armour and weapon set-up, and then alters his sprite and battler to reflect the equipment he is wearing. Currently this is set up to run in parallel process constantly. But there are two issues here:
1) That's a constantly looping script, running over and over when most of the time it isn't needed. There's a chance it could contribute to lag.
2) It doesn't run in the menu screen. So when you select a new suit of armour to wear in the 'equipment' screen, and then exit back to the menu screen, the sprite on the menu is still shown to be wearing the old armour set, and will remain that way until the menu is exited altogether and then re-opened.
What i'd really like to do is set up the common event to be called when the 'B' button is pressed (mapped to Esc - opening and closing the menu). Since weapons and armour can only be changed from the menu, it's the only time i'd need the event. But although that button press is registered when I first press Esc to open the menu, it isn't registered when I press Esc to move back from the equip screen to the menu screen, or when I press Esc in the menu to return to the field screen. So the sprite is only updated after changing the equipment, exiting the menu, and then re-opening the menu.
Any thoughts? I presume it's possible to script somehow, but I can imagine this being kind of complex.
Thanks for reading :cheers:
-Silver-