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
MemMulti
Continuously calls Fwatch for information from memory (with mem multi) and stores it in a global variable FWATCH_MEM_MULTI.
The purpose is to reduce number of calls to Fwatch (if every script gets data on its own then the game slows down) by providing a standard script for taking game status.
Optional argument is a time interval between calls (the lower the faster). Script will adapt to the lowest parameter. Default value is 0.01s. I recommend to match it to the frequency of your loop.
Example:
[] exec "..\fwatch\data\MemMulti.sqs"
@Format ["%1",count FWATCH_MEM_MULTI] != "scalar"
#Loop
~0.01
_anim = FWATCH_MEM_MULTI select 5
goto "Loop"