{"hash":"0xC0EDEF16D90661EE","ns":"ENTITY","name":"_SET_ENTITY_ANIM_AGE","slug":"_SET_ENTITY_ANIM_AGE","official":false,"named":true,"luaName":"SetEntityAnimAge","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"entity","type":"Entity"},{"name":"alpha","type":"float"}],"summary":"Sets an entity animation age/alpha value.","descriptions":[{"source":"alloc8or","format":"text","body":"Sets an entity animation age/alpha value.\nObserved in scripts with torch weapon entities. alpha controls the animation age where 0.0 is the start and 1.0 is the end."},{"source":"vorp","format":"text","body":"Sets the intensity of the flames for a torch"}],"examples":[],"aliases":["_SET_ENTITY_FLAME_INTENSITY"],"enums":[],"related":[],"build":"1207","sources":["alloc8or","vorp"],"doc":2,"url":"https://natives.borderlinerp.com/natives/ENTITY/_SET_ENTITY_ANIM_AGE","markdownUrl":"https://natives.borderlinerp.com/natives/ENTITY/_SET_ENTITY_ANIM_AGE.md","snippets":{"lua":"SetEntityAnimAge(entity, alpha)","luaInvoke":"Citizen.InvokeNative(0xC0EDEF16D90661EE, entity, alpha)","js":"SetEntityAnimAge(entity, alpha);","jsInvoke":"Citizen.invokeNative('0xC0EDEF16D90661EE', entity, alpha + 0.0000001);","csharp":"Function.Call((Hash)0xC0EDEF16D90661EE, entity, alpha);","notes":["Float parameters: Lua integers (`10`, or whole numbers decoded from NUI/JSON) are sent as ints and read as garbage. Write `10.0` or `value + 0.0`. The generated JS wrappers add `0.0000001` to non-zero floats for the same reason.","The name is a community guess and may change. If the named call is missing in your client build, use `InvokeNative` with the hash — it always works."]}}