The RPG Maker Resource Kit

Other Game Creation => Program Troubleshooting => Topic started by: Miles Castea on April 09, 2008, 09:50:27 PM

Title: Lead script command check.
Post by: Miles Castea on April 09, 2008, 09:50:27 PM
Is there a script command in conditional branches that check if a certain character is in the lead?
Title: Re: Lead script command check.
Post by: modern algebra on April 10, 2008, 05:43:54 AM
You can use the script command of the conditional branch with one of these two codes (more as well) to check that:


$game_party.actors[0].id == actor_id
$game_party.actors[0].name == "actor name"