/* * Author: Glowbal * Check if unit has a tourniquet applied to the specified bodypart * * Arguments: * 0: The Unit * 1: Body Part * * ReturnValue: * Has tourniquet applied * * Public: Yes */ #include "script_component.hpp" params ["_target", "_bodyPart"]; ((_target getVariable [QGVAR(tourniquets), [0,0,0,0,0,0]]) select (ALL_BODY_PARTS find toLower _bodyPart)) > 0