BIS_fnc_variableSpaceRemove

From Bohemia Interactive Community
Jump to navigation Jump to search
Introduced with Arma 2 version 1.00
  

Click on the images for descriptions

Introduced in

Game:
Arma 2
Version:
1.00

Description

Description:
Remove element from variable from someone's variable space.

Syntax

Syntax:
[object,varName,element,global,inArray] call BIS_fnc_variableSpaceRemove
Parameters:
object: Object - Owner of variable space
varName: String - Name of variable
element: Anything - Element which will be removed (must be of same type as variable)
global: Boolean - (Optional, default false) True to save modified variable globally]]
Return Value:
Anything - Updated variable

Examples

Example 1:
[ player,"someVar",1337,true ] call BIS_fnc_variableSpaceRemove;

Additional Information

Execution:
call
Multiplayer:
-
See also:
BIS_fnc_variableSpaceAdd

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section