Spawned
Runs after UCR gives a player a custom role.
Start a script section
!-- OnUCR Spawned
-- require *evInstance @evPlayer *evRole
# Add your instructions here
- Group: CustomRoleEvents
- Cancellable: No
- Event data:
CustomRoleSpawnedEventArgs
Injected variables
| Variable | Type | Description |
|---|---|---|
*evInstance | reference to UCRRoleInstance object | The UCR role instance involved in this event. |
@evPlayer | player value | The player involved in this event. |
*evRole | reference to UCRRole object | The UCR role involved in this event. |