BIS_fnc_counter
Jump to navigation
Jump to search
Description
Syntax
- Syntax:
- [varName, add, modulo] call BIS_fnc_counter
- Parameters:
- varName: String or Array format [varName, namespace] - default namespace is missionNamespace
- add: Number - (Optional, default 0) the value to be added
- modulo: Number - (Optional, default -1) the modulo to use for counter cycle, applied after the addition
- Return Value:
- Number the new counter value
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