GET_ANIM_SCENE_PHASE
Returns the playback progress of animScene, from 0.0 at the start to 1.0 at the end.
Signature
float GET_ANIM_SCENE_PHASE(AnimScene animScene); // 0x3FBC3F51BF12DFBF b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | animScene | AnimScene |
Facts
| Name | GET_ANIM_SCENE_PHASE |
|---|---|
| Hash | 0x3FBC3F51BF12DFBF |
| Namespace | |
| Returns | float |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local result = Citizen.InvokeNative(0x3FBC3F51BF12DFBF, -- GET_ANIM_SCENE_PHASE
0, -- AnimScene animScene
Citizen.ResultAsFloat()
)
print(result)const result = Citizen.invokeNative("0x3FBC3F51BF12DFBF", // GET_ANIM_SCENE_PHASE
0, // AnimScene animScene
Citizen.resultAsFloat()
);
console.log(result)float result = Function.Call<float>((Hash)0x3FBC3F51BF12DFBF, // GET_ANIM_SCENE_PHASE
0 // AnimScene animScene
);Related ANIMSCENE natives
- GET_ANIM_SCENE_BOOL
- GET_ANIM_SCENE_CURRENT_ACTIVE_CAMERA_COUNT
- GET_ANIM_SCENE_ENTITY_LOCATION_DATA
- GET_ANIM_SCENE_FLOAT
- GET_ANIM_SCENE_INT
- GET_ANIM_SCENE_ORIGIN
- _GET_ANIM_SCENE_PLAYBACK_LIST_PHASE_AUDIO_LOAD_STRESS
- _GET_ANIM_SCENE_DICT
- _GET_ANIM_SCENE_DURATION
- _GET_ANIM_SCENE_OBJECT
- _GET_ANIM_SCENE_PED
- _GET_ANIM_SCENE_RATE
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.