Function & Script Library
Directory fwatch\data\ stores over a dozen of extra scripts and functions that take advantage of the Fwatch features. They are listed below, each with brief description. More information you'll find inside the files.
Functions
ConvertKeyString.sqfCurrentLanguage.sqf
DateDifference.sqf
DateDifferenceInDays.sqf
FormatDate.sqf
getAspectRatio.sqf
InitFLib.sqf
inKeys.sqf
MeasureTime.sqf
ModifyDate.sqf
path.sqf
pathDedi.sqf
Scripts
InputMulti.sqsMemMulti.sqs
onScreenTyping.sqs
DateDifference
Calculates duration between two dates and returns difference for each time unit.
Example:
["FLIB_DATEDIFF"] call preProcessFile "..\fwatch\data\InitFLib.sqf"
_diff = [[2014,8,15,5,10,30,10,0,60,false],[2014,8,16,6,12,00,10,0,60,false]] call FLIB_DATEDIFF
_diff is now: [0,0,1,1,30,0]