ACE3/addons/fire/functions/fnc_isBurning.sqf
2024-02-05 13:17:33 +01:00

21 lines
341 B
Plaintext

#include "..\script_component.hpp"
/*
* Author: commy2
* Check if an object is burning.
*
* Arguments:
* 0: Object <OBJECT>
*
* Return Value:
* None
*
* Example:
* player call ace_fire_fnc_isBurning
*
* Public: Yes
*/
params [["_object", objNull, [objNull]]];
(_object getVariable [QGVAR(intensity), 0]) > BURN_MIN_INTENSITY