Escaped
Gets called when the player has escaped.
Start a script sectionโ
!-- OnEvent Escaped
-- require @evPlayer $evOldRole $evNewRole $evEscapeScenarioType *evEscapeZone
# Add your instructions here
- Group: PlayerEvents
- Cancellable: No
- Event data:
PlayerEscapedEventArgs
Injected variablesโ
| Variable | Type | Description |
|---|---|---|
@evPlayer | player value | Gets the player who escaped. |
$evOldRole | RoleTypeId enum value | Gets the old role of the player. |
$evNewRole | RoleTypeId enum value | Gets the new role. |
$evEscapeScenarioType | EscapeScenarioType enum value | Escape scenario of the player. |
*evEscapeZone | reference to Bounds object | The bounds of the escape zone that was triggered. |