{"name":"BIS_fnc_cancelMarker","title":"BIS fnc cancelMarker","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_cancelMarker","revid":348835,"updated":"2023-11-08T14:39:09Z","groups":["Map and Markers"],"status":"ok","games":{"arma3":"1.78"},"since":"arma3 1.78","arma3_since":"1.78","locality":{"argument":"global","effect":"global"},"exec":"spawn","description":"Cancels a marker by a red 'X' marker. Also sets its variable to \"Canceled\" to true.","syntaxes":[{"syntax":"[marker, duration, fadeTime, sizeMultiplier, angleOffset] spawn BIS_fnc_cancelMarker","params":[{"name":"marker","type":"String","description":"marker","type_expr":"String"},{"name":"duration","type":"Number","optional":true,"default":"1","description":"duration of canceling in seconds","type_expr":"Number","text":"duration: Number - (Optional, default 1) duration of canceling in seconds"},{"name":"fadeTime","type":"Number","optional":true,"default":"-1","description":"time in seconds after which cancel marker fades. If value is <0 then marker won't fade out and will be deleted after duration","type_expr":"Number","text":"fadeTime: Number - (Optional, default -1) time in seconds after which cancel marker fades. If value is <0 then marker won't fade out and will be deleted after duration"},{"name":"sizeMultiplier","type":"Number","optional":true,"default":"1","description":"multiplier for a size of the 'cancel' marker compared to the original","type_expr":"Number","text":"sizeMultiplier: Number - (Optional, default 1) multiplier for a size of the 'cancel' marker compared to the original"},{"name":"angleOffset","type":"Number","optional":true,"default":"45","description":"angle offset from the original marker","type_expr":"Number","text":"angleOffset: Number - (Optional, default 45) angle offset from the original marker"}],"returns":{"type":"Nothing","type_expr":"Nothing"}}],"examples":[{"code":["[\"BIS_marker\",2,1.5,75] spawn BIS_fnc_cancelMarker;"]}],"see_also":["BIS_fnc_blinkMarker","BIS_fnc_colorMarker","BIS_fnc_changeColorMarker","BIS_fnc_getMarkers","BIS_fnc_getMarkerState"]}