Skip to main content

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​

NameRequiredTypeDescription
role referenceYesa 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.