UCR.GetRoleInstances
Optional integration
This method requires UncomplicatedCustomRoles.
Lists active instances of a UCR role.
Syntax
UCR.GetRoleInstances *role_reference
Returns
collection of reference to UCRRoleInstance object
Arguments
| Name | Required | Type | Description |
|---|---|---|---|
role reference | Yes | a reference to UCRRole object. |
Details
Each reference exposes id, player, role, and object.
On a running server
Use serhelp UCR.GetRoleInstances to inspect the reference generated by your installed SER version.