I'm trying to do the following :
If Actor 2 is in party then add Actor 3
And If Actor 3 is in party then add Actor 2
The following code does not seem to work ... any help would be appreciated !
If Actor 2 is in party then add Actor 3
And If Actor 3 is in party then add Actor 2
The following code does not seem to work ... any help would be appreciated !
Code:
if ($gameParty.members().contains($gameActors.actor(2)) > -1) {
$gameParty.addActor(3);
$gamePlayer.refresh();
} else if ($gameParty.members().contains($gameActors.actor(3)) > -1) {
$gameParty.addActor(2);
$gamePlayer.refresh();
}