Skip to main content

LeftHazard

Gets called when player has left any environmental hazard.

Start a script section

!-- OnEvent LeftHazard
-- require @evPlayer *evHazard

# Add your instructions here
  • Group: PlayerEvents
  • Cancellable: No
  • Event data: PlayerLeftHazardEventArgs

Injected variables

VariableTypeDescription
@evPlayerplayer valueGets the player who left the hazard.
*evHazardreference to Hazard objectGets the hazard that the player has left.