mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
4d028be876
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.
15 lines
365 B
Plaintext
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;
|