RMRK is retiring.
Server is paid up for the rest of 2026, but the forum may go after that. See here for more information. Please archive or save anything you would like to keep before 2027.
Main Menu
  • Welcome to The RPG Maker Resource Kit.

Lead script command check.

Started by Miles Castea, April 09, 2008, 09:50:27 PM

0 Members and 1 Guest are viewing this topic.

Miles Castea

Is there a script command in conditional branches that check if a certain character is in the lead?
Current Project:
Altaria: Deus ex Machina (in progress)

modern algebra

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"