taskSynchronizedScene
TASK_SYNCHRONIZED_SCENE0xEEA929141F699854The GTA V native TASK_SYNCHRONIZED_SCENE of the TASK namespace, as LS:MP client scripts call it: the global function taskSynchronizedScene, in JavaScript and in Lua.
taskSynchronizedScene(
ped: Ped,
scene: number,
animDictionary: string,
animationName: string,
blendIn: number,
blendOut: number,
flags: number,
ragdollBlockingFlags: number,
moverBlendDelta: number,
ikFlags: number
): voidtaskSynchronizedScene(
ped: Ped,
scene: integer,
animDictionary: string,
animationName: string,
blendIn: number,
blendOut: number,
flags: integer,
ragdollBlockingFlags: integer,
moverBlendDelta: number,
ikFlags: integer
)Usage
JavaScript
taskSynchronizedScene(
ped, scene, animDictionary, animationName, blendIn, blendOut, flags, ragdollBlockingFlags,
moverBlendDelta, ikFlags
);Lua
taskSynchronizedScene(
ped, scene, animDictionary, animationName, blendIn, blendOut, flags, ragdollBlockingFlags,
moverBlendDelta, ikFlags
)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ped | Ped | number | integer |
scene | int | number | integer |
animDictionary | string | string | string |
animationName | string | string | string |
blendIn | float | number | number |
blendOut | float | number | number |
flags | int | number | integer |
ragdollBlockingFlags | int | number | integer |
moverBlendDelta | float | number | number |
ikFlags | int | number | integer |
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.
taskSynchronizedScene(ped, scene, "creatures@rottweiler@in_vehicle@std_car", "get_in", 1000.0, -8.0, 4, 0, 0x447a0000, 0);Full list of animation dictionaries and anims by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/animDictsCompact.json
Reference
- Namespace
- Tasks TASK
- In the game
void TASK_SYNCHRONIZED_SCENE(Ped ped, int scene, const char* animDictionary, const char* animationName, float blendIn, float blendOut, int flags, int ragdollBlockingFlags, float moverBlendDelta, int ikFlags)- Hash
0xEEA929141F699854