BIS fnc counter: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...)
m (Text replacement - "<h3 style="display:none">Bottom Section</h3>" to "")
Line 38: Line 38:




<h3 style="display:none">Bottom Section</h3>
 


[[Category:Functions|{{uc:counter}}]]
[[Category:Functions|{{uc:counter}}]]
[[Category:{{Name|tkoh}}: Functions|{{uc:counter}}]]
[[Category:{{Name|tkoh}}: Functions|{{uc:counter}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:counter}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:counter}}]]

Revision as of 00:52, 18 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