[SOLVED] Party Member ID Script Call

I'm trying to reference the agility parameter of a party member, rather than a specific actor in the database since the party will be constantly changing/chosen by the player throughout my game.

So basically what I'm trying to find is the agility parameter of party members 1, 2, 3, and 4.

I know that you can reference the 2nd actor's agility parameter like this:
Code:
$gameActors.actor(2).agi

And the 2nd enemy's agility parameter like this:
Code:
$dataEnemies[2].params[6]

What is the script call to reference the 2nd party member?
$gameParty.members()[1].agi
$gameParty.members() returns an array. Since arrays are 0-based, you would use 1 to get to the 2nd member.
$gameParty.members()[1].agi
$gameParty.members() returns an array. Since arrays are 0-based, you would use 1 to get to the 2nd member.
Thank you so much for your quick response! It works perfectly for me now 🙂

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/solved-party-member-id-script-call.114227/