Files
MissionTemplate/functions/intel/fn_MDS_fixedAssets.sqf
2023-06-19 00:57:30 -05:00

19 lines
793 B
Plaintext

_assetList = missionNamespace getVariable "milsim_var_fixedAssets";
_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_fixedAssets""] call milsim_fnc_messageAssetStatus'>Run Report on local node?</execute>";
player createDiaryRecord ["Status", ["MDS - ASSETS - FIXED", _text]];