{"name":"BIS_fnc_shakeMap","operator":null,"title":"BIS fnc shakeMap","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_shakeMap","revid":348853,"updated":"2023-11-08T14:39:12Z","groups":["Map and Markers"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.78"}],"since":{"game":"arma3","name":"Arma 3","version":"1.78"},"arma3_since":"1.78","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"\"Camera shake\" function for the map. Shakes the map for a given amount of time with a given amount of force around the given camera center. Exits if map is not open.","syntaxes":[{"syntax":"[duration, magnitude, center] call BIS_fnc_shakeMap","since":null,"effect":null,"exec":null,"params":[{"name":"duration","type":"Number","optional":false,"default":null,"description":"duration of the effect","types":["Number"],"since":null,"text":"duration: Number - duration of the effect"},{"name":"magnitude","type":"Number","optional":false,"default":null,"description":"magnitude of the shaking force","types":["Number"],"since":null,"text":"magnitude: Number - magnitude of the shaking force"},{"name":"center","type":"Array","optional":false,"default":null,"description":"center position of the effect","types":["Array"],"since":null,"text":"center: Array - center position of the effect"}],"returns":{"type":"Nothing","types":["Nothing"],"description":null,"text":"Nothing"}}],"examples":[{"text":"```sqf\n[2,20,getMarkerPos \"BIS_markerExtraction0\"] call BIS_fnc_shakeMap;\n```","code":["[2,20,getMarkerPos \"BIS_markerExtraction0\"] call BIS_fnc_shakeMap;"]},{"text":"```sqf\n[2,20,getPos player] call BIS_fnc_shakeMap;\n```","code":["[2,20,getPos player] call BIS_fnc_shakeMap;"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["BIS_fnc_shakeMapEH"],"notes":[],"categories":["Arma 3: Functions","Arma 3: New Functions","Function Group: Map and Markers","Functions","Introduced with Arma 3 version 1.78"],"docblock":null,"filled_from_docblock":[]}