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.
Syntax
[duration, magnitude, center] call BIS_fnc_shakeMap
Parameters:
duration: Number - duration of the effectmagnitude: Number - magnitude of the shaking forcecenter: Array - center position of the effect
Returns: Nothing
Examples
Example 1
[2,20,getMarkerPos "BIS_markerExtraction0"] call BIS_fnc_shakeMap;
Example 2
[2,20,getPos player] call BIS_fnc_shakeMap;