SET_ANIM_SCENE_ENTITY
Binds entity to the slot entityName of animScene using flags.
Call it for every participant before LOAD_ANIM_SCENE.
Signature
void SET_ANIM_SCENE_ENTITY(AnimScene animScene, const char* entityName, Entity entity, int flags); // 0x8B720AD451CA2AB3 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | animScene | AnimScene |
| 2 | entityName | const char* |
| 3 | entity | Entity |
| 4 | flags | int |
Facts
| Name | SET_ANIM_SCENE_ENTITY |
|---|---|
| Hash | 0x8B720AD451CA2AB3 |
| Namespace | |
| Returns | void |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
Citizen.InvokeNative(0x8B720AD451CA2AB3, -- SET_ANIM_SCENE_ENTITY
0, -- AnimScene animScene
"text", -- const char* entityName
PlayerPedId(), -- Entity entity
0 -- int flags
)Citizen.invokeNative("0x8B720AD451CA2AB3", // SET_ANIM_SCENE_ENTITY
0, // AnimScene animScene
"text", // const char* entityName
PlayerPedId(), // Entity entity
0 // int flags
);Function.Call((Hash)0x8B720AD451CA2AB3, // SET_ANIM_SCENE_ENTITY
0, // AnimScene animScene
"text", // const char* entityName
API.PlayerPedId(), // Entity entity
0 // int flags
);Related ANIMSCENE natives
- SET_ANIM_SCENE_BOOL
- SET_ANIM_SCENE_FLOAT
- SET_ANIM_SCENE_INT
- SET_ANIM_SCENE_ORIGIN
- SET_ANIM_SCENE_PAUSED
- SET_ANIM_SCENE_PLAY_LIST
- SET_ANIM_SCENE_PLAYBACK_LIST
- SET_ANIM_SCENE_RATE
- _DOES_ANIM_SCENE_OWNERSHIP_OF_ENTITY_EXIST
- _DOES_ENTITY_WITH_ID_EXIST_IN_ANIM_SCENE
- _HAS_ENTITY_ENTERED_ANIM_SCENE
- ATTACH_ANIM_SCENE_TO_ENTITY
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.