To store the database ID of the actor who is in slot 1 of the party?
For example, my party consists of B C D A in that order
The actor ID in database:
1. A
2. B
3. C
4. D
In this case, the actor in slot 1 of the party is B, whose corresponding ID is 2
So 2 will be stored into a variable.
Can anyone tell me how to do this? Thanks so much :3