mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
803d497d8a
* 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
22 lines
386 B
Plaintext
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));
|