BIS fnc counter: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\{\{RV\|type=function \| *(tkoh|TKOH) * \| *([0-9]\.[0-9]{2}) * \|gr1=(.*) \| <pre>\/\*" to "{{RV|type=function |game1= tkoh |version1= $2 |game2= arma3 |version2= 0.50 |gr1=$3 |descr= <pre>/*")
m (Text replacement - " |p1= |x1= " to " ")
Line 29: Line 29:
|s1= <!-- [] call [[BIS_fnc_counter]]; -->
|s1= <!-- [] call [[BIS_fnc_counter]]; -->


|p1=
|x1=


|seealso= [[BIS_fnc_deleteCounter]]
|seealso= [[BIS_fnc_deleteCounter]]

Revision as of 23:29, 10 June 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

Examples:
Example needed

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