mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
6851183e1f
* add marker flags * minor cleanup * use pictures for actions * check canDig * review changes * Update fnc_placeFlag.sqf * fix hiddenSelectionsTextures * Update addons/marker_flags/functions/fnc_pickUpFlag.sqf Co-authored-by: Jouni Järvinen <rautamiekka@users.noreply.github.com> * Cache flag list at pre-start * Add model for flag pole * Pass item name to pickUpFlag via action * Update addons/marker_flags/stringtable.xml Co-authored-by: mharis001 <34453221+mharis001@users.noreply.github.com> Co-authored-by: Jouni Järvinen <rautamiekka@users.noreply.github.com> Co-authored-by: PabstMirror <pabstmirror@gmail.com> Co-authored-by: mharis001 <34453221+mharis001@users.noreply.github.com>
21 lines
363 B
Plaintext
21 lines
363 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)
|