BIS fnc deleteCounter: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " {{Function|Comments=" to "{{Function|Comments=")
(Page filling)
 
(24 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Function|Comments=
{{RV|type=function
____________________________________________________________________________________________


| arma3 |Game name=
|game1= arma3
|version1= 1.00


|1.00|Game version=
|arg= global
____________________________________________________________________________________________
|eff= local


| <pre>/*
|gr1= Systems
Author:
Killzone_Kid


Description:
|descr= Delete the provided counter added by [[BIS_fnc_counter]].
Delete given counter


Parameter(s):
|s1= [varName] call [[BIS_fnc_deleteCounter]]
0:
STRING - variable name of counter
ARRAY in format [variableName,nameSpace], where nameSpace can be object, group or missionNameSpace/uiNameSpace
Returns:
NOTHING
*/


#define VAR_SPACES [currentNamespace, objNull, displayNull, controlNull, grpNull, locationNull, taskNull, teamMemberNull]
|p1= varName: [[String]] or [[Array]] format [varName, namespace] - default namespace is [[missionNamespace]]


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


| <!-- [] call [[BIS_fnc_deleteCounter]]; --> |SYNTAX=
|x1= <sqf>[["TAG_Score", player]] call BIS_fnc_deleteCounter;</sqf>
|p1= |PARAMETER1=
 
| |RETURNVALUE=
____________________________________________________________________________________________
 
|x1= <code></code> |EXAMPLE1=
____________________________________________________________________________________________
 
| |SEEALSO=


|seealso= [[BIS_fnc_counter]]
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Function Group: Misc|{{uc:deleteCounter}}]]
[[Category:Functions|{{uc:deleteCounter}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:deleteCounter}}]]

Latest revision as of 16:44, 11 April 2024

Hover & click on the images for description

Description

Description:
Delete the provided counter added by BIS_fnc_counter.
Execution:
call
Groups:
Systems

Syntax

Syntax:
[varName] call BIS_fnc_deleteCounter
Parameters:
varName: String or Array format [varName, namespace] - default namespace is missionNamespace
Return Value:
Nothing

Examples

Example 1:
[["TAG_Score", player]] call BIS_fnc_deleteCounter;

Additional Information

See also:
BIS_fnc_counter

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