ID:174534
Aug 10 2003, 12:05 am
|
|
in my game if you press select fight on the battle screen a list of enemies pops up and thats whats supposed to happen.. the problem is if you click somewhere else and turn the header of the pop up gray then you can select fight over and over.. my question is: how can i prevent the menu from popping up twice?
|
Copyright © 2024 BYOND Software.
All rights reserved.
If it's a HUD object, then you can do this:
Have a var, belonging to all players, that you use to determine whether the input window is showing. Just before you show the window, test to see if that var is true. If it is, then don't proceed because it means that there's already a fight window open. Otherwise, set the var to true and display the window. Just after you display the window, set the var to false.