I have a question for Hud Maker Ultra, how would I check if one or more actors has a state. For example, if at least one actor has the "I'm Alive" state the Battle Hud will remain turned on. If all party members are defeated, the state would be removed.
Hud Maker Ultra (MZ) Check if any actor has a state
RPG Maker MZ SupportWhy would you need a state to say "I'm alive"? Is that just the party isn't dead? In which case the game would automatically go to game over?
Regardless, the condition is
where 42 is the ID of your state.
Regardless, the condition is
Code:
$gameParty.members().some(actor => actor.isStateAffected(42))
This method worked without any problem, thanks for helping out.
Original thread: https://forums.rpgmakerweb.com/threads/hud-maker-ultra-mz-check-if-any-actor-has-a-state.169925/