First, it checks the position of the actor within the party, e.g, for Party leader;
Code:
If : Script : $gameActors.actor(1) === $gameParty.leader()and party member 1
Code:
If : Script : $gameActors.actor(1) === $gameParty.members()[1]And then it shows a picture if the condition is true.
I'm trying to do the same for Enemies in the battle troop but it doesn't seem to be functioning. Here is the code:
Code:
If : Script : $gameEnemies.enemy(21) === $gameTroop.members()[1]Why does the above script not function?