BIS fnc deleteCounter: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\{\{RV\|type=function \| *arma ?3 * \| *([0-9]\.[0-9]{2}) * \|gr1=(.*) \| <pre>\/\*" to "{{RV|type=function |game1= arma3 |version1= $1 |gr1=$2 |descr= <pre>/*")
(Page filling)
 
(3 intermediate revisions by the same user not shown)
Line 3: Line 3:
|game1= arma3
|game1= arma3
|version1= 1.00
|version1= 1.00
|arg= global
|eff= local


|gr1= Systems
|gr1= Systems


|descr= <pre>/*
|descr= Delete the provided counter added by [[BIS_fnc_counter]].
Author:
Killzone_Kid
 
Description:
Delete given counter
 
Parameter(s):
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]


{{Wiki|placeholder}}
|s1= [varName] call [[BIS_fnc_deleteCounter]]


|s1= <!-- [] call [[BIS_fnc_deleteCounter]]; -->
|p1= varName: [[String]] or [[Array]] format [varName, namespace] - default namespace is [[missionNamespace]]


|p1=
|r1= [[Nothing]]


|x1=
|x1= <sqf>[["TAG_Score", player]] call BIS_fnc_deleteCounter;</sqf>


|seealso= [[BIS_fnc_counter]]
|seealso= [[BIS_fnc_counter]]
}}
}}

Latest revision as of 17: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