ACE3/addons/rangecard/functions/fnc_canCopy.sqf
Phyma ffaa195fe5 Conform function headers to coding guidelines (#5255)
* Fixed headers to work with silentspike python script

* Fixed rest of the files

* Fixed ace-team
2017-06-08 15:31:51 +02:00

19 lines
379 B
Plaintext

/*
* Authors: Ruthberg
* Checks if the target has a copyable range card
*
* Arguments:
* unit <OBJECT>
*
* Return Value:
* canShow <BOOL>
*
* Example:
* [bob] call ace_rangecard_fnc_canCopy
*
* Public: No
*/
#include "script_component.hpp"
((primaryWeapon _this) != "" && [_this] call EFUNC(common,isPlayer) && [_this, "ACE_RangeCard"] call EFUNC(common,hasItem))