updates FBCB2, updates log fnc, adds comments
This commit is contained in:
@@ -1,27 +1,42 @@
|
||||
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
|
||||
private _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]];
|
||||
private _sunriseColor = "#4A86E8";
|
||||
private _sunsetColor = "#6AA84F";
|
||||
private _whiteColor = "#FFFFFF";
|
||||
|
||||
private _sunTimes = date call BIS_fnc_sunriseSunsetTime;
|
||||
|
||||
_text pushBack format[
|
||||
"<font size='%1' color='%2'>Local Sunrise</font><br/>
|
||||
<font size='%3' color='%4'>%5</font><br/><br/>",
|
||||
milsim_fbcb2_recordTextHeaderSize,
|
||||
_sunriseColor,
|
||||
milsim_fbcb2_recordTextBodySize,
|
||||
_whiteColor,
|
||||
([_sunTimes select 0, "HH:MM"] call BIS_fnc_timeToString)
|
||||
];
|
||||
|
||||
_text pushBack format[
|
||||
"<font size='%1' color='%2'>Local Sunset</font><br/>
|
||||
<font size='%3' color='%4'>%5</font><br/><br/>",
|
||||
milsim_fbcb2_recordTextHeaderSize,
|
||||
_sunsetColor,
|
||||
milsim_fbcb2_recordTextBodySize,
|
||||
_whiteColor,
|
||||
([_sunTimes select 1, "HH:MM"] call BIS_fnc_timeToString)
|
||||
];
|
||||
|
||||
_text = _text joinString "";
|
||||
|
||||
[
|
||||
milsim_fbcb2_subjectIntelID,
|
||||
|
||||
Reference in New Issue
Block a user