getRayfireMapObjectAnimPhase
GET_RAYFIRE_MAP_OBJECT_ANIM_PHASE0x260EE4FDBDF4DB01The GTA V native GET_RAYFIRE_MAP_OBJECT_ANIM_PHASE of the OBJECT namespace, as LS:MP client scripts call it: the global function getRayfireMapObjectAnimPhase, in JavaScript and in Lua.
getRayfireMapObjectAnimPhase(object: Object): numbergetRayfireMapObjectAnimPhase(object: Object): numberUsage
JavaScript
const value = getRayfireMapObjectAnimPhase(object);Lua
local value = getRayfireMapObjectAnimPhase(object)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
object | Object | number | integer |
Returns
float JavaScript number, Lua numberNotes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
object: The des-object handle to get the animation progress from.
Return value is a float between 0.0 and 1.0, 0.0 is the beginning of the animation, 1.0 is the end. Value resets to 0.0 instantly after reaching 1.0.
Reference
- Namespace
- Object OBJECT
- In the game
float GET_RAYFIRE_MAP_OBJECT_ANIM_PHASE(Object object)- Hash
0x260EE4FDBDF4DB01- Formerly
_GET_DES_OBJECT_ANIM_PROGRESS