mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
15 lines
320 B
Plaintext
15 lines
320 B
Plaintext
// by commy2
|
|
|
|
#include "script_component.hpp"
|
|
|
|
private ["_unit", "_isCivilian"];
|
|
|
|
_unit = _this select 0;
|
|
_isCivilian = _this select 1;
|
|
|
|
if (isNil "_isCivilian") then {_isCivilian = true};
|
|
|
|
alive _unit
|
|
&& [side _unit != side ACE_player, side group _unit == civilian] select _isCivilian
|
|
//&& {count (weapons _unit) == 0}
|