First module appearing in 3den (not zeus yet). Created custom PREP macros for compiling functions similar to CBA/ACE.

This commit is contained in:
Clarky committed 2026-08-28 18:14:49 +10:00
1 parent 2a7c28af5f
commit c5755fb259
42 files changed
+1805 -7

No files matched your search

@@ -0,0 +1,79 @@
/*
* Author: Clarky
* Usage:
* [this] call CLRK_fnc_initBaseHQInteractions;
*  
* Intended to run locally on each client.
*
*/
params ["_hq"];
_hq addAction [
"<t color='#FFD700'>Check Total Materiel</t>",
{
params ["_target", "_caller"];
[
"CLRK_MaterielCheck",
[
_target,
_caller
]
] call CBA_fnc_serverEvent;
},
nil,
1,
true,
false,
"",
"true",
6
];
_hq addAction [
"<t color='#55cbda'>Check Fortify Budget</t>",
{
params ["_target", "_caller"];
private _msg = format ["Current Fortify Budget: %1", [side _caller] call ace_fortify_fnc_getBudget];
[
"CLRK_ShowMessage",
[
3,
1,
_msg
],
_caller
] call CBA_fnc_targetEvent;
},
nil,
1,
true,
false,
"",
"true", // Figure out a way to lock this to player side checks (macros?)
6
];
_hq addAction [
"<t color='#da55ce'>Add Fortify Budget - $100</t>",
{
params ["_target", "_caller"];
[
"CLRK_FortifyBudgetAdd",
[
_target,
_caller
]
] call CBA_fnc_serverEvent;
//[side _caller, 100, true] call ace_fortify_fnc_updateBudget;
},
nil,
1,
true,
false,
"",
"true", // Figure out a way to lock this to player side checks (macros?)
6
];