{"name":"BIS_fnc_variableSpaceRemove","title":"BIS fnc variableSpaceRemove","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_variableSpaceRemove","revid":349319,"updated":"2023-11-08T14:52:29Z","groups":["Variables"],"status":"ok","games":{"arma2":"1.00","arma2oa":"1.50","tkoh":"1.00","arma3":"0.50"},"since":"arma2 1.00","arma3_since":"0.50","description":"Remove element from variable from someone's variable space.","syntaxes":[{"syntax":"[object,varName,element,global,inArray] call BIS_fnc_variableSpaceRemove","params":[{"name":"object","type":"Object","description":"owner of variable space","type_expr":"Object"},{"name":"varName","type":"String","description":"name of variable","type_expr":"String"},{"name":"element","type":"Anything","description":"element which will be removed (must be of same type as variable)","type_expr":"Anything"},{"name":"global","type":"Boolean","optional":true,"default":"false","description":"true to save modified variable globally]]","type_expr":"Boolean","text":"global: Boolean - (Optional, default false) true to save modified variable globally]]"}],"returns":{"type":"Anything","type_expr":"Anything","description":"updated variable"}}],"examples":[{"code":["[player, \"someVar\", 1337, true] call BIS_fnc_variableSpaceRemove;"]}],"see_also":["BIS_fnc_variableSpaceAdd","setVariable"]}