Created
January 1, 2015 19:56
-
-
Save HimeWorks/14dd278e92d6bd2074f8 to your computer and use it in GitHub Desktop.
Check if an actor is in the Battle Party
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# RPG Maker VX Ace example | |
# | |
# The "Battle party" are the party members that will participate in battle. | |
# You can use conditional branches to check who is in the battle party | |
# eg: Check if actor 1 is in the battle party | |
$game_party.battle_members.include?($game_actors[1]) | |
# eg: Check if actor 5 is not in the battle party | |
!$game_party.battle_members.include?($game_actors[5]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment