#include "..\script_component.hpp" /* * Author: tcvm * Determines if you can attach the sighting unit to the Dragon missile. * * Arguments: * 0: Target * 1: Unit Performing Action * * Return Value: * Can Attach Sighting Unit * * Example: * [cursorObject, player] call ace_dragon_fnc_sightCanDetach * * Public: No */ params ["_target", "_unit"]; (alive _target) && {_target getVariable [QGVAR(sightAttached), ((typeOf _target) == QGVAR(staticAssembled))]}