Fwatch 1.15 On-Line Documentation


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.sqf
CurrentLanguage.sqf
DateDifference.sqf
DateDifferenceInDays.sqf
FormatDate.sqf
getAspectRatio.sqf
InitFLib.sqf
inKeys.sqf
MeasureTime.sqf
ModifyDate.sqf
path.sqf
pathDedi.sqf

Scripts

InputMulti.sqs
MemMulti.sqs
onScreenTyping.sqs



inKeys

Determines if given key (or a combination of keys) was pressed. For programming hotkeys.

Example:0.02 exec "..\fwatch\data\InputMulti.sqs"
@Format ["%1",count FWATCH_INPUT_MULTI] != "scalar"

_pressed = []
["FLIB_INKEYS"] call preProcessFile "..\fwatch\data\InitFLib.sqf"

#Loop
~0.02
_keys = FWATCH_INPUT_MULTI select 0

? "K" call FLIB_INKEYS : hint "You've pressed K!"
? ["SHIFT","L"] call FLIB_INKEYS : hint "You've used SHIFT or L!"
? [["SHIFT","L"]] call FLIB_INKEYS : hint "You've pressed SHIFT+L!"

goto "Loop"
Topics:
What is Fwatch?
What's new?
Download & Startup

Presence Check
Using Commands
Input Commands Info
Animation Codes
Function & Script Library
Recommended Practices

Extras
Changelog
Source
Credits

Discuss Scripting
Post Request

Fwatch 1.16 Test