{"name":"BIS_fnc_moduleFDFadeMarker","operator":null,"title":"BIS fnc moduleFDFadeMarker","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_moduleFDFadeMarker","revid":328478,"updated":"2022-07-13T16:11:11Z","groups":["Modules - Firing Drills"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.00"}],"since":{"game":"arma3","name":"Arma 3","version":"1.00"},"arma3_since":"1.00","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":"spawn","description":"Gradually change the alpha of the given marker.","syntaxes":[{"syntax":"[markerName, alpha] spawn BIS_fnc_moduleFDFadeMarker","since":null,"effect":null,"exec":null,"params":[{"name":"markerName","type":"String","optional":false,"default":null,"description":null,"types":["String"],"since":null,"text":"markerName: String"},{"name":"alpha","type":"Number","optional":false,"default":null,"description":"wanted marker alpha","types":["Number"],"since":null,"text":"alpha: Number - wanted marker alpha"}],"returns":{"type":"Boolean","types":["Boolean"],"description":"true when done","text":"Boolean - true when done"}}],"examples":[{"text":"```sqf\n[\"tankMarker\", 0.25] spawn BIS_fnc_moduleFDFadeMarker;\n```","code":["[\"tankMarker\", 0.25] spawn BIS_fnc_moduleFDFadeMarker;"]},{"text":"Creates a pulsating marker:\n\n```sqf\n[] spawn \n{\n    while { alive enemyTank } do\n    {\n        [\"tankMarker\", 1] call BIS_fnc_moduleFDFadeMarker;\n        [\"tankMarker\", 0] call BIS_fnc_moduleFDFadeMarker;\n        sleep 0.05;\n    };\n    [\"tankMarker\", 0] call BIS_fnc_moduleFDFadeMarker;\n};\n```","code":["[] spawn \n{\n\twhile { alive enemyTank } do\n\t{\n\t\t[\"tankMarker\", 1] call BIS_fnc_moduleFDFadeMarker;\n\t\t[\"tankMarker\", 0] call BIS_fnc_moduleFDFadeMarker;\n\t\tsleep 0.05;\n\t};\n\t[\"tankMarker\", 0] call BIS_fnc_moduleFDFadeMarker;\n};"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["markerAlpha","setMarkerAlpha"],"notes":[],"categories":["Arma 3: Functions","Arma 3: New Functions","Function Group: Modules - Firing Drills","Functions","Introduced with Arma 3 version 1.00"],"docblock":null,"filled_from_docblock":[]}