So earlier, I asked for a script that collects the ID of the 2nd party member. Here is the script I use:
But if I activate it and nobody is in the slot:
How can I fix this?
Edit: Nevermind, I solved it by checking to see if the 2nd actor is in the party.
Code:
$gameParty.members()[1]._actorId
But if I activate it and nobody is in the slot:
How can I fix this?
Edit: Nevermind, I solved it by checking to see if the 2nd actor is in the party.