BIS fnc diagKey: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (1 revision)
m (Text replacement - "<code>(\[[a-zA-Z0-9_, ]*\] )?\[\[(call|spawn)\]\] \[\[(BI[NS]\_fnc\_[a-zA-Z0-9_]+)\]\];?<\/code>" to "<sqf>$1$2 $3;</sqf>")
 
(25 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{RV|type=function


{{Function|= Comments
|game1= arma3
____________________________________________________________________________________________
|version1= 1.00


| arma3 |= Game name
|gr1= Diagnostic


|1.00|= Game version
|descr= Tracks pressed keys. ([[getNumber]] ([[missionConfigFile]] >> "diagKey") > 0) has to be [[true]].
____________________________________________________________________________________________


| <pre>/*
|s1= call [[BIS_fnc_diagKey]]


Description:
|r1= [[Boolean]] - [[true]] when activated
Tracks pressed keys


Parameter(s): None
|x1= <sqf>call BIS_fnc_diagKey;</sqf>
 
Returns:
BOOL
*/
 
 
//--- No diagnostic in empty missions
</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
____________________________________________________________________________________________
 
| <!-- [] call [[BIS_fnc_diagKey]]; --> |= Syntax
 
|p1= |= Parameter 1
 
| |= Return value
____________________________________________________________________________________________
 
|x1= <code></code> |=
____________________________________________________________________________________________
 
| |= See also


|seealso= [[:Category:Function Group: Diagnostic|Diag functions]]
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Function Group: Diagnostic|{{uc:diagKey}}]]
[[Category:Functions|{{uc:diagKey}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:diagKey}}]]

Latest revision as of 13:04, 5 May 2022

Hover & click on the images for description

Description

Description:
Tracks pressed keys. (getNumber (missionConfigFile >> "diagKey") > 0) has to be true.
Execution:
call
Groups:
Diagnostic

Syntax

Syntax:
call BIS_fnc_diagKey
Return Value:
Boolean - true when activated

Examples

Example 1:
call BIS_fnc_diagKey;

Additional Information

See also:
Diag functions

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note