- Joined
- Jun 15, 2014
- Messages
- 240
- Reaction score
- 41
- First Language
- English Spanish
- Primarily Uses
Hi all!!
This should be easy but I dont get the code right.
One can use the Control Variables , Game Data, Party Member 1 through 8 slot to store the actor Id on a variable depending on its position on the party. If I wanted to store the ID for a 9th or 10th player, I should use a script code. What would that code be?
I have:
But of course, is wrong. Any help?
Thanbks!!
This should be easy but I dont get the code right.
One can use the Control Variables , Game Data, Party Member 1 through 8 slot to store the actor Id on a variable depending on its position on the party. If I wanted to store the ID for a 9th or 10th player, I should use a script code. What would that code be?
I have:
Code:
$gameVariables.setValue(X, $gameParty.members()[9].actorId());
Thanbks!!
