ACE3/addons/interaction/functions/fnc_canInteractWithCivilian.sqf
2015-03-02 23:30:11 -03:00

11 lines
270 B
Plaintext

// by commy2
#include "script_component.hpp"
EXPLODE_2_PVT(_this,_unit,_isCivilian);
if (isNil "_isCivilian") then {_isCivilian = true};
alive _unit
&& [side _unit != side ACE_player, side group _unit == civilian] select _isCivilian
//&& {count (weapons _unit) == 0}