mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
324bf68614
- Add categories to zeus modules to group them based on their functionality - Add new utility modules: 1. Toggle simulation 2. Update editable objects - Clean up some of the zeus module code (standardise function headers, camel case, etc.)
31 lines
632 B
Plaintext
31 lines
632 B
Plaintext
/*
|
|
* Author: PabstMirror
|
|
* Initalises the ace_cargo attribute of the zeus vehicle attributes display
|
|
* (the display shown on double click)
|
|
*
|
|
* Arguments:
|
|
* 0: ace_cargo controls group <CONTROL>
|
|
*
|
|
* Return Value:
|
|
* None
|
|
*
|
|
* Public: No
|
|
*/
|
|
|
|
#include "script_component.hpp"
|
|
|
|
params ["_control"];
|
|
TRACE_1("params",_control);
|
|
|
|
private _veh = GETMVAR(BIS_fnc_initCuratorAttributes_target,objNull);
|
|
TRACE_1("",_veh);
|
|
|
|
private _loaded = _veh getVariable [QEGVAR(cargo,loaded), []];
|
|
TRACE_1("",_loaded);
|
|
|
|
_control ctrlRemoveAllEventHandlers "setFocus";
|
|
|
|
{
|
|
(_control controlsGroupCtrl 80086) lbAdd (str _x);
|
|
} forEach _loaded;
|