setFacialIdleAnimOverride
SET_FACIAL_IDLE_ANIM_OVERRIDE0xFFC24B988B938B38The GTA V native SET_FACIAL_IDLE_ANIM_OVERRIDE of the PED namespace, as LS:MP client scripts call it: the global function setFacialIdleAnimOverride, in JavaScript and in Lua.
setFacialIdleAnimOverride(ped: Ped, animName: string, animDict: string): voidsetFacialIdleAnimOverride(ped: Ped, animName: string, animDict: string)Usage
JavaScript
setFacialIdleAnimOverride(ped, animName, animDict);Lua
setFacialIdleAnimOverride(ped, animName, animDict)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ped | Ped | number | integer |
animName | string | string | string |
animDict | string | string | string |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Notes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
Full list of animation dictionaries and anims by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/animDictsCompact.json
Reference
- Namespace
- Ped PED
- In the game
void SET_FACIAL_IDLE_ANIM_OVERRIDE(Ped ped, const char* animName, const char* animDict)- Hash
0xFFC24B988B938B38