ACE3/addons/interaction/functions/fnc_canInteractWithCivilian.sqf

11 lines
270 B
Plaintext
Raw Normal View History

2015-03-03 02:30:11 +00:00
// 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}