Okay, I'm frustated now.
how to add more than 4 actors to the party? I mean, I've tried this:
yet, after I add the actor, I tried to print $game_party.actors.size it still shows 4 instead of more...
What shuld I do?
how to add more than 4 actors to the party? I mean, I've tried this:
Code:
def add_actor(actor_id)
# Get actor
actor = $game_actors[actor_id]
# If the party has less than 4 members and this actor is not in the party
if @actors.size < 8 and not @actors.include?(actor)
# Add actor
@actors.push(actor)
# Refresh player
$game_player.refresh
end
end
yet, after I add the actor, I tried to print $game_party.actors.size it still shows 4 instead of more...
What shuld I do?