mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Fire - Remove unused plant integration (#9993)
Removed unused plant integration in fire
This commit is contained in:
parent
c03e08e51b
commit
e1137ac903
@ -1,6 +1,5 @@
|
|||||||
PREP(burn);
|
PREP(burn);
|
||||||
PREP(isBurning);
|
PREP(isBurning);
|
||||||
PREP(isPlant);
|
|
||||||
PREP(burnIndicator);
|
PREP(burnIndicator);
|
||||||
PREP(burnReaction);
|
PREP(burnReaction);
|
||||||
PREP(fireManagerPFH);
|
PREP(fireManagerPFH);
|
||||||
|
@ -8,6 +8,4 @@ PREP_RECOMPILE_END;
|
|||||||
|
|
||||||
#include "initSettings.inc.sqf"
|
#include "initSettings.inc.sqf"
|
||||||
|
|
||||||
GVAR(burningPlants) = [];
|
|
||||||
|
|
||||||
ADDON = true;
|
ADDON = true;
|
||||||
|
@ -17,7 +17,4 @@
|
|||||||
|
|
||||||
params [["_unit", objNull, [objNull]]];
|
params [["_unit", objNull, [objNull]]];
|
||||||
|
|
||||||
_unit getVariable [QGVAR(burning), false] || {
|
_unit getVariable [QGVAR(burning), false]
|
||||||
GVAR(burningPlants) = GVAR(burningPlants) select {!isNull _x};
|
|
||||||
_unit in GVAR(burningPlants)
|
|
||||||
}
|
|
||||||
|
@ -1,20 +0,0 @@
|
|||||||
#include "..\script_component.hpp"
|
|
||||||
/*
|
|
||||||
* Author: commy2
|
|
||||||
* Check if object is a map placed bush or tree.
|
|
||||||
*
|
|
||||||
* Arguments:
|
|
||||||
* 0: Object <OBJECT>
|
|
||||||
*
|
|
||||||
* Return Value:
|
|
||||||
* Is bush or tree? <BOOL>
|
|
||||||
*
|
|
||||||
* Example:
|
|
||||||
* cursorObject call ace_fire_fnc_isPlant
|
|
||||||
*
|
|
||||||
* Public: No
|
|
||||||
*/
|
|
||||||
|
|
||||||
params [["_object", objNull, [objNull]]];
|
|
||||||
|
|
||||||
_object in nearestTerrainObjects [_object, ["TREE", "SMALL TREE", "BUSH"], 0.1]
|
|
Loading…
Reference in New Issue
Block a user