ToggledRadio
Gets called when the player has toggled a radio.
Start a script section
!-- OnEvent ToggledRadio
-- require @evPlayer *evRadioItem $evNewState
# Add your instructions here
- Group: PlayerEvents
- Cancellable: No
- Event data:
PlayerToggledRadioEventArgs
Injected variables
| Variable | Type | Description |
|---|---|---|
@evPlayer | player value | Gets the player who toggled the radio. |
*evRadioItem | reference to RadioItem object | Gets the radio item. |
$evNewState | bool value | Gets the new state of the radio. |