BIS fnc counter: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Function|Comments=
{{Function|Comments=
____________________________________________________________________________________________


| tkoh |Game name=
| tkoh |Game name=
Line 7: Line 6:


|gr1 = Systems |GROUP1=
|gr1 = Systems |GROUP1=
____________________________________________________________________________________________


| <pre>/*
| <pre>/*
Line 26: Line 24:


</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |DESCRIPTION=
</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |DESCRIPTION=
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_counter]]; --> |SYNTAX=
| <!-- [] call [[BIS_fnc_counter]]; --> |SYNTAX=
Line 33: Line 30:


| |RETURNVALUE=
| |RETURNVALUE=
____________________________________________________________________________________________


|x1= <code></code> |EXAMPLE1=
|x1= <code></code> |EXAMPLE1=
____________________________________________________________________________________________


| [[BIS_fnc_deleteCounter]] |SEEALSO=
| [[BIS_fnc_deleteCounter]] |SEEALSO=

Revision as of 22:38, 16 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

Notes

Bottom Section