30 lines
837 B
Plaintext
30 lines
837 B
Plaintext
private _recordTitle = "MDS - INTEL - ENVIRONMENT";
|
|
|
|
|
|
_sunTimes = date call BIS_fnc_sunriseSunsetTime;
|
|
|
|
_text = format[
|
|
"<font size='%1' color='%2' face='%3'>%4</font><br/><br/>",
|
|
milsim_fbcb2_recordTitleSize,
|
|
milsim_fbcb2_recordTitleColor,
|
|
milsim_fbcb2_recordTitleFont,
|
|
_recordTitle
|
|
];
|
|
_text = _text + "
|
|
<font size='16' color='#4A86E8'>Local Sunrise</font>
|
|
<br/>
|
|
<font size='20' color='#FF0000'>" + ([_sunTimes select 0, "HH:MM"] call BIS_fnc_timeToString) + "</font>
|
|
<br/><br/>
|
|
<font size='16' color='#6AA84F'>Local Sunset</font>
|
|
<br/>
|
|
<font size='20' color='#FF0000'>" + ([_sunTimes select 1, "HH:MM"] call BIS_fnc_timeToString) + "</font>
|
|
<br/><br/>
|
|
";
|
|
|
|
player createDiaryRecord ["Status", ["MDS - INTEL - ENVIRONMENT", _text]];
|
|
|
|
[
|
|
milsim_fbcb2_subjectIntelID,
|
|
_recordTitle,
|
|
_text
|
|
] call milsim_fnc_createOrUpdateDiaryRecord; |