Skip to main content

TriggeredTesla

Gets called when the player has triggered a TeslaGate.

Start a script section

!-- OnEvent TriggeredTesla
-- require @evPlayer *evTesla

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

Injected variables

VariableTypeDescription
@evPlayerplayer valueGets the player who is causing a tesla gate to trigger.
*evTeslareference to Tesla objectGets the Tesla associated with the event.