-
Notifications
You must be signed in to change notification settings - Fork 18
Loadout Button
Broström.A | Evul edited this page Aug 3, 2023
·
4 revisions
This is a little function that allow you to give a unit a loadout from a scroll wheel action. The function is useful for temporarily loadouts.
/* Arguments:
* 0: Object <OBJECT>
* 1: Lable <STRING>
* 2: Loadout <CLASSNAME / VARIABLE / LOADOUT ARRAY>
*/
[this, "My Custom Loadout", "My_Loadout_Classname"] call cScripts_fnc_addLoadoutAction;
[this, "Rifleman", "B_Soldier_F"] call cScripts_fnc_addLoadoutAction;
[this, "Apply a special variable loadout", "Variable_Name"] call cScripts_fnc_addLoadoutAction;
[this, "Go Nude", [[],[],[],[],[],[],"","",[],["","","","","",""]]] call cScripts_fnc_addLoadoutAction;
The function is applied manually via Eden on the objects init.
- fn_addLoadoutAction.sqf (Function)
- Loadout (Gear)
- Starter Crate
- Staging (Feature)
7th Cavalry Gaming 2018. | Maintained by S3 1BN Scripting Department