BIS fnc keyHold: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(created page)
 
m (infobox to template)
Line 23: Line 23:
Returns:
Returns:
True if the action was successful, false if it was interrupted.
True if the action was successful, false if it was interrupted.
*/</pre>{{Informative|Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]]}} |Description=
*/</pre>{{placeholder}}<!-- Remove this after fill-in --> |Description=


|[] call [[BIS_fnc_keyHold]]|Syntax=
|[] call [[BIS_fnc_keyHold]]|Syntax=

Revision as of 16:27, 2 April 2019

Hover & click on the images for description

Description

Description:
/*
	Author: Thomas Ryan

	Description:
	Allow for hold button interactions.

	Parameters:
		_this select 0 (Optional): STRING - Description of the performed action, displayed inside the progress bar.
		_this select 1 (Optional): NUMBER - Duration of the action. (Default: 2 seconds)
		_this select 2 (Optional): STRING or CODE - Condition that must be met for the action to display.
		_this select 3 (Optional): ARRAY - Arguments passed to the code executed.

	Returns:
	True if the action was successful, false if it was interrupted.
*/
Template:placeholder
Execution:
call
Groups:
Uncategorised

Syntax

Syntax:
[] call BIS_fnc_keyHold
Parameters:
parameter: Datatype - (Optional, default defValue) description
Return Value:
Datatype - description

Examples

Example 1:

Additional Information

See also:
See also needed

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