BIS fnc counter: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " +" to " ")
m (Text replacement - " \|s1= <!-- ([^ ]+);? --> \|seealso=" to "|s1= <!-- $1 --> |r1= |x1= |seealso=")
Line 26: Line 26:


{{Wiki|placeholder}}
{{Wiki|placeholder}}
|s1= <!-- [] call [[BIS_fnc_counter]] -->


|s1= <!-- [] call [[BIS_fnc_counter]]; -->
|r1=
 
|x1=


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

Revision as of 05:26, 13 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