Skip to main content

IdledTesla

Gets called when a player was close enough to a Tesla-Gate for it to idle.

Start a script section

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

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

Injected variables

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