/* * Author: Glowbal * Check if unit has a tourniquet applied to the specified bodypart * * Arguments: * 0: The Unit * 1: SelectionName * * ReturnValue: * Has tourniquet applied * * Public: Yes */ #include "script_component.hpp" params ["_target", "_selectionName"]; (((_target getvariable [QGVAR(tourniquets), [0,0,0,0,0,0]]) select ([_selectionName] call FUNC(selectionNameToNumber))) > 0);