The RPG Maker Resource Kit

Other Game Creation => Program Troubleshooting => Topic started by: Luna on March 28, 2008, 11:35:47 PM

Title: Different Leader = Different Events
Post by: Luna on March 28, 2008, 11:35:47 PM
What I'm trying to find out is that with the script that changes your leader, how do you make the event say something different if you have a different leader? For example ..

Person A and a person talk.

Person: Hi.
Person A: Hi there.

Person A switches with Person B.

Person: Hi.
Person B: Go away.
Person: Fine.

Is it possible?
Title: Re: Different Leader = Different Events
Post by: modern algebra on March 29, 2008, 12:30:33 AM
Condition it on this script command:


$game_party.actors[0].id == Actor_ID


or alternatively:


$game_party.actors[0].name == "Actor Name"