many changes. includes rework of baselocation-asset storage format
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
#include "..\script_component.hpp"
|
||||
|
||||
params [
|
||||
["_className", "", [""]]
|
||||
];
|
||||
|
||||
// Get the approved assets config
|
||||
private _approvedAssetsCfg = call EFUNC(util,getApprovedAssetsCfg);
|
||||
if (isNull _approvedAssetsCfg) exitWith {""};
|
||||
|
||||
// Get the asset definition
|
||||
private _assetDef = (_approvedAssetsCfg >> _className);
|
||||
if (isClass _assetDef) exitWith {getText(_assetDef >> "callsign")};
|
||||
|
||||
"";
|
||||
Reference in New Issue
Block a user