Minimum version: R06.18.00
This event was introduced in SCNP25 R06.18.00. Earlier versions will silently ignore it.
Replaces the animation the radio plays while the player is in a vehicle and keys PTT. The new animation is loaded immediately and used on every subsequent in-vehicle PTT.
For finer control, register a full animation handler with setAnimHandler instead.
| Name | Type | Description |
|---|---|---|
animName |
string | The animation name (clip) within the dictionary. |
animDict |
string | The animation dictionary. |
Lua
TriggerEvent("radioExternal:setVehicleAnim", "idle_2_idle_intro", "random@arrests")
C#
BaseScript.TriggerEvent("radioExternal:setVehicleAnim",
"idle_2_idle_intro", "random@arrests");