BIS fnc counter: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " {{Function|Comments=" to "{{Function|Comments=")
m (Text replacement - "\[\[Category\:Function Group\: Misc(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\]" to "")
Line 48: Line 48:


<h3 style="display:none">Bottom Section</h3>
<h3 style="display:none">Bottom Section</h3>
[[Category:Function Group: Misc|{{uc:counter}}]]
 
[[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 09:12, 10 October 2020

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:
Uncategorised

Syntax

Syntax:
Syntax needed
Return Value:
Return value needed

Examples

Example 1:

Additional Information

See also:
See also needed

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