[Resolved] Check Level of Party Leader for Conditional Branch?

0 Members and 1 Guest are viewing this topic.

**
Rep:
Level 66
RMRK Junior
I already know how to check the level of a specific actor (as shown here: http://rmrk.net/index.php/topic,43718.0.html )

But I want to check the level of whatever actor is currently in the lead position.
I'm going to use it to make enemies that flee from the player if the party leader's level is above a certain number. Since I don't have a main character that is always in the party, I thought it might be kind of silly to pin it to a specific character's level; who may not even be in the party, or who may be over/under-leveled compared to who is actually in the party.

While I'm asking, how do you check the ID of the lead party member?

I'm using KGC_LargeParty if that changes anything.
« Last Edit: September 09, 2011, 02:50:08 AM by Radiant_Cadenza »

*****
Rep:
Level 84
This text is way too personal.
Bronze - GIAW 11 (Hard)Silver - GIAW Halloween
Use the script command in Conditional Branch (Bottom of 4th Tab) and enter:

Code: [Select]
$game_party.members[0].level >= Number

**
Rep:
Level 66
RMRK Junior
So that's how it's done.

Many thanks.

Note to self: Try to find a list of valid script commands.