UsedRadio
Gets called when the player has used the radio.
Start a script section
!-- OnEvent UsedRadio
-- require @evPlayer *evRadioItem $evDrain
# Add your instructions here
- Group: PlayerEvents
- Cancellable: No
- Event data:
PlayerUsedRadioEventArgs
Injected variables
| Variable | Type | Description |
|---|---|---|
@evPlayer | player value | Gets the player that used the radio. |
*evRadioItem | reference to RadioItem object | Gets the radio that was being used. |
$evDrain | number value | Gets the drain amount of the battery per second. |