LeftPocketDimension
Gets called when the player has left the pocket dimension.
Start a script section
!-- OnEvent LeftPocketDimension
-- require @evPlayer *evTeleport $evIsSuccessful
# Add your instructions here
- Group: PlayerEvents
- Cancellable: No
- Event data:
PlayerLeftPocketDimensionEventArgs
Injected variables
| Variable | Type | Description |
|---|---|---|
@evPlayer | player value | Gets the player who tried to left pocket dimension. |
*evTeleport | reference to PocketTeleport object | Gets the teleport the player collided with. Remarks: Can be null if exit was forced by a plugin. |
$evIsSuccessful | bool value | Gets whether the escape was successful. |