{"name":"BIS_fnc_shakeMap","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","games":{"arma3":"1.78"},"since":"arma3 1.78","arma3_since":"1.78","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","params":[{"name":"duration","type":"Number","description":"duration of the effect","type_expr":"Number"},{"name":"magnitude","type":"Number","description":"magnitude of the shaking force","type_expr":"Number"},{"name":"center","type":"Array","description":"center position of the effect","type_expr":"Array"}],"returns":{"type":"Nothing","type_expr":"Nothing"}}],"examples":[{"code":["[2,20,getMarkerPos \"BIS_markerExtraction0\"] call BIS_fnc_shakeMap;"]},{"code":["[2,20,getPos player] call BIS_fnc_shakeMap;"]}],"see_also":["BIS_fnc_shakeMapEH"]}