ACE3/addons/fire/functions/fnc_isBurning.sqf
johnb432 f45dff8a09
Fire - Mini-Rewrite (#9757)
Co-authored-by: Jouni Järvinen <rautamiekka@users.noreply.github.com>
Co-authored-by: Grim <69561145+LinkIsGrim@users.noreply.github.com>
2024-06-22 15:07:36 -03: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