version 3.0
This commit is contained in:
19
functions/fbcb2/fn_processFBCB2RotaryAssets.sqf
Normal file
19
functions/fbcb2/fn_processFBCB2RotaryAssets.sqf
Normal file
@@ -0,0 +1,19 @@
|
||||
_assetList = missionNamespace getVariable "milsim_var_rotaryAssets";
|
||||
|
||||
_text = "<font size='24' color='#ff0000'>=======------ Mission Data Set ------=======</font>";
|
||||
|
||||
{
|
||||
_callSign = _x select 0;
|
||||
_asset = _x select 1;
|
||||
_assigned = _x select 2;
|
||||
_name = getText(configFile >> "CfgVehicles" >> _asset >> "displayName");
|
||||
|
||||
_data = "<t size='2'>Callsign: " + _callsign + "</t><br/><t size='1'>Asset: " + _name + "</t><br/><t size='1'>Assigned: " + str _assigned + "</t>";
|
||||
|
||||
_text = _text + "<br/><br/>" + _data;
|
||||
|
||||
} foreach _assetList;
|
||||
|
||||
_text = _text + "<br/><br/><execute expression='[missionNamespace getVariable ""milsim_var_rotaryAssets""] call milsim_fnc_messageFBCB2AssetStatus'>Run Report on local node?</execute>";
|
||||
|
||||
player createDiaryRecord ["Status", ["MDS - ASSETS - ROTARY", _text]];
|
||||
Reference in New Issue
Block a user