mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
19 lines
376 B
Plaintext
19 lines
376 B
Plaintext
|
/*
|
||
|
* Authors: Ruthberg
|
||
|
* Checks if the target has a copyable range card
|
||
|
*
|
||
|
* Arguments:
|
||
|
* unit <OBJECT>
|
||
|
*
|
||
|
* Return Value:
|
||
|
* canShow (bool)
|
||
|
*
|
||
|
* Example:
|
||
|
* [] 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))
|