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 aiming a weapon and keys PTT. The new animation is loaded immediately and used on every subsequent aiming-PTT.
For finer control over which animation plays in which context, 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:setAimingAnim", "idle_2_idle_intro", "random@arrests")
C#
BaseScript.TriggerEvent("radioExternal:setAimingAnim",
"idle_2_idle_intro", "random@arrests");