trying to obtain a party members actor id

Does this look correct to you guys?

A = $gameParty.members()[1].actorid$gameVariables.setValue(1,A)I checked the script call spread sheet for it, but I could not find it in there. 

Im just looking for a method of getting a party members actor ID.

I tried 0 as my first index and it returned 0, so I checked 1, and it still returned 0 :/
If you mean the party leader, it would be

Code:
$gameVariables.setValue(1, $gameParty.leader().actorId()
But you can also do this in Control Variables > Game Data > Party Member #1 Actor Id - you don't need to use a script call at all.
I wanted to get the ids of the whole party, not just the leader. I figured the actor id of the first character in the database would be 1 not 0, so I checked the next party member.

I know about the control variables, I just didn't want to do it a bunch of times. The ultimate goal is to check if a party member has a skill and display them if they do.

I just discovered that this works, I should be okay.

$gameParty.members()[0].isLearnedSkill(n)Amazing response time btw 🙂
Actor ids start at 1. But party lineup starts at 0.


If you want to check a certain actor, regardless of their position in the party, it would be this:

Code:
$gameActors.actor(x).isLearnedSkill(n)
where x is the id of the actor (based on the database)

Original thread: https://forums.rpgmakerweb.com/threads/trying-to-obtain-a-party-members-actor-id.50719/