ACE3/addons/mk6mortar/functions/fnc_rangeTableCanUse.sqf
mharis001 803d497d8a Improve checking of unit items (#6350)
* Add uniqueItems function

* Optimize dogtag children actions function

* Optimize getDetonators item search

* Store CfgWeapons lookup in getDetonators

* Update items to use new function

* Update items to use new function 2

* More optimization of uniqueItems function

* Update items to use new function 3
2018-09-17 14:03:28 -05:00

22 lines
386 B
Plaintext

/*
* Author: PabstMirror
* Can player open 82mm rangetable.
*
* Arguments:
* 0: Vehicle <OBJECT>
* 1: Player <OBJECT>
*
* Return Value:
* Can Open <BOOL>
*
* Example:
* [bob, bob] call ace_mk6mortar_fnc_rangeTableCanUse
*
* Public: No
*/
#include "script_component.hpp"
params ["_vehicle", "_player"];
"ACE_RangeTable_82mm" in (_player call EFUNC(common,uniqueItems));