> For the complete documentation index, see [llms.txt](https://xeavin.gitbook.io/the-insurgents-handbook/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://xeavin.gitbook.io/the-insurgents-handbook/scripts/vm-call-targets/get-party-member-mask.md).

# Get Party Member Mask

### Signature

```c
int getpartymembermask(); //id:0x0361
```

### Description

Returns which party members are in the entire party (active and reserve).

The returned value is a 32 bit field where as each bit represents the identifier of a party member.

For example, if Vaan (0), Basch (4) and Penelo (5) where in the active party, the returned value would be `2^0 + 2^4 + 2^5 = 49`.

### Notes

{% hint style="info" %}
For a list of party member identifiers, you can view the battlepack spreadsheet in [Resources](/the-insurgents-handbook/getting-started/resources.md).
{% endhint %}
