mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
742626ff1a
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
21 lines
366 B
Plaintext
21 lines
366 B
Plaintext
#include "..\script_component.hpp"
|
|
/*
|
|
* Authors: Brett Mayson
|
|
* Get the placeable flags in the unit's inventory.
|
|
*
|
|
* Arguments:
|
|
* 0: Unit <OBJECT>
|
|
*
|
|
* Return Value:
|
|
* flags <ARRAY>
|
|
*
|
|
* Example:
|
|
* [_unit] call ace_marker_flags_fnc_getFlags
|
|
*
|
|
* Public: No
|
|
*/
|
|
|
|
params ["_unit"];
|
|
|
|
(_unit call EFUNC(common,uniqueItems)) arrayIntersect keys GVAR(flagCache)
|