getFireTarget
Shared
Returns the element a managed fire is following.
Syntax
element|false getFireTarget(fire theFire)Arguments
theFirefireManaged fire element.
Returns
The target element, nil when the fire is static, or false for an invalid element.
Ownership and lifecycle
A managed fire is an element owned by the resource that created it, so stopping that resource extinguishes its fires. Server-created fires are synchronized to every client, and lifetime is tracked as relative remaining time so a client joining mid-burn receives what is left.
Where this comes from
SOURCECLuaFireDefs.cppClient/mods/deathmatch/logic/luadefs/CLuaFireDefs.cpp and Server/mods/deathmatch/logic/luadefs/CLuaFireDefs.cpp INTRODUCED / EXTENDEDd82ce28aaRead the commit and why the change was made TEST RESOURCE fire-test test-resources/fire-test
RELATED NEON APIS
Read the system guide →