BIS fnc counter: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<h3 style="display:none">Bottom Section</h3>" to "")
m (Text replacement - " {2,}\}\}" to " }}")
Line 34: Line 34:


| [[BIS_fnc_deleteCounter]]
| [[BIS_fnc_deleteCounter]]
}}
}}



Revision as of 00:48, 19 January 2021

Hover & click on the images for description

Description

Description:
/*

	Description:
	Modify the given counter (create it if doesn't exist)

	Parameter(s):
	_this select 0:
		STRING - variable name of counter
		ARRAY in format [variableName,nameSpace], where nameSpace can be object, group or missionNameSpace/uiNameSpace
	_this select 1 (Optional): NUMBER - added value
	_this select 2 (Optional): NUMBER - modulo value

	Returns:
	NUMBER - counter's value
*/

(Placeholder description extracted from the function header by BIS_fnc_exportFunctionsToWiki)
Execution:
call
Groups:
Systems

Syntax

Syntax:
Syntax needed
Return Value:
Return value needed

Examples

Example 1:

Additional Information

See also:
BIS_fnc_deleteCounter

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