Function addition for civrep building ignore
This commit is contained in:
parent
42cdebb805
commit
bbc14b8b08
|
@ -5,9 +5,9 @@ if (KP_liberation_civrep_debug > 0) then {private _text = format ["[KP LIBERATIO
|
|||
private _return = 0;
|
||||
|
||||
if (KP_liberation_cr_param_buildings) then {
|
||||
_return = {damage _x == 0} count nearestObjects [getMarkerPos _sector, ["House"], 1.5 * GRLIB_capture_size];
|
||||
_return = {(damage _x == 0) && !((typeOf _x) in KP_liberation_cr_ignored_buildings)} count nearestObjects [getMarkerPos _sector, ["House"], 1.5 * GRLIB_capture_size];
|
||||
} else {
|
||||
_return = {alive _x} count nearestObjects [getMarkerPos _sector, ["House"], 1.5 * GRLIB_capture_size];
|
||||
_return = {(alive _x) && !((typeOf _x) in KP_liberation_cr_ignored_buildings)} count nearestObjects [getMarkerPos _sector, ["House"], 1.5 * GRLIB_capture_size];
|
||||
};
|
||||
|
||||
if (KP_liberation_civrep_debug > 0) then {private _text = format ["[KP LIBERATION] [CIVREP] getBuildings finished on: %1 - Return: %2", debug_source, _return];_text remoteExec ["diag_log",2];};
|
||||
|
|
|
@ -213,6 +213,7 @@ class Missions
|
|||
* Fixed: Rescue helipad blocked building in their near vicinity.
|
||||
* Fixed: MPKill Eventhandler issue when using ACE.
|
||||
* Fixed: Function to buy a logistic truck worked but caused an error in dedicated server environment.
|
||||
* Fixed: Couldn't build under powerlines.
|
||||
|
||||
### 0.955 (24th June 2017)
|
||||
* Added: Some small aesthetic things for the buildlist
|
||||
|
|
Loading…
Reference in New Issue