Hey! So, I have a problem. My game has the protagonist start out as a peasant, with a sprite/face for it. This is actor 1. Shortly after starting, you choose one of four classes. Depending on which choice you make, actor 1 is replaced with actor 2, 3, 4 or 5. However, later on, when a second actor joins the party (actor 6), actor 6 is the party leader by default.
I tried locking the actor in place after the class selection in made, using a script call:
lock_actor(2)
lock_actor(3)
lock_actor(4)
lock_actor(5)
However, it didn't work - when actor 6 is added, he becomes party leader.
I found an edit to the script that is meant to fix the lock_actor command, which is editing line 392 of Yanfly's party system:
return unless $game_party.battle_members.include?(actor.id)
↓ (into)
return unless $game_party.battle_members.include?(actor)
However, it still isn't working. Any tips?
I tried locking the actor in place after the class selection in made, using a script call:
lock_actor(2)
lock_actor(3)
lock_actor(4)
lock_actor(5)
However, it didn't work - when actor 6 is added, he becomes party leader.
I found an edit to the script that is meant to fix the lock_actor command, which is editing line 392 of Yanfly's party system:
return unless $game_party.battle_members.include?(actor.id)
↓ (into)
return unless $game_party.battle_members.include?(actor)
However, it still isn't working. Any tips?