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
| Variable | Type | Description |
|---|---|---|
@evPlayer | player value | Gets the player who is causing a tesla gate to trigger. |
*evTesla | reference to Tesla object | Gets the Tesla associated with the event. |