ACE3/addons/zeus/functions/fnc_ui_vehCargo.sqf
SilentSpike 4d028be876 Cleanup zeus display modules
Replaces display size and position defines with macros for readability and compactness.

Changes naming convention of functions and displays to distinguish categories and make more readable.

Converts the global set skill module to use display events rather than waiting in a loop for the module to be set and confirmed.
2016-05-15 18:08:54 +01:00

15 lines
365 B
Plaintext

#include "script_component.hpp"
params ["_control"];
TRACE_1("params",_control);
private _veh = missionNamespace getVariable ["BIS_fnc_initCuratorAttributes_target", objnull];
TRACE_1("",_veh);
private _loaded = _veh getVariable [QEGVAR(cargo,loaded), []];
TRACE_1("",_loaded);
{
((ctrlParent _control) displayCtrl 80086) lbAdd (str _x);
} forEach _loaded;