mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
3edeff217a
* work on arsenal actions * cycle through pages * docs * cleanup * Update addons/gunbag/functions/fnc_weaponName.sqf Co-authored-by: Jouni Järvinen <rautamiekka@users.noreply.github.com> * missing fil * Update addons/arsenal/functions/fnc_itemInfo.sqf * Update addons/arsenal/functions/fnc_refresh.sqf Co-authored-by: Jouni Järvinen <rautamiekka@users.noreply.github.com> * remove CBA_loadoutSet gunbag cache * update fnc_refresh * fix 3den --------- Co-authored-by: Jouni Järvinen <rautamiekka@users.noreply.github.com> Co-authored-by: Salluci <salluci.lovi@gmail.com> Co-authored-by: Grim <69561145+LinkIsGrim@users.noreply.github.com>
26 lines
1.1 KiB
C++
26 lines
1.1 KiB
C++
class EGVAR(arsenal,actions) {
|
|
class ADDON {
|
|
displayName = CSTRING(DisplayName);
|
|
condition = QUOTE(_this call FUNC(hasGunbag));
|
|
tabs[] = {0,5};
|
|
class status {
|
|
textStatement = QUOTE([_this select 0] call FUNC(weaponName));
|
|
};
|
|
class store {
|
|
label = CSTRING(ToGunbag);
|
|
condition = QUOTE([ARR_2(_this select 0,_this select 0)] call FUNC(canInteract) == 0);
|
|
statement = QUOTE([ARR_2(_this select 0,_this select 0)] call FUNC(toGunbagCallback));
|
|
};
|
|
class retrieve {
|
|
label = CSTRING(OffGunbag);
|
|
condition = QUOTE([ARR_2(_this select 0,_this select 0)] call FUNC(canInteract) == 1);
|
|
statement = QUOTE([ARR_2(_this select 0,_this select 0)] call FUNC(offGunbagCallback));
|
|
};
|
|
class swap {
|
|
label = CSTRING(SwapGunbag);
|
|
condition = QUOTE([ARR_2(_this select 0,_this select 0)] call FUNC(canInteract) == 2);
|
|
statement = QUOTE([ARR_2(_this select 0,_this select 0)] call FUNC(swapGunbagCallback));
|
|
};
|
|
};
|
|
};
|