Arma 3 Scripting

BIS_fnc_shakeMap

  • Arma 3 v1.78

Function · Markdown · JSON · original wiki page

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:

Returns: Nothing

Examples

Example 1

[2,20,getMarkerPos "BIS_markerExtraction0"] call BIS_fnc_shakeMap;

Example 2

[2,20,getPos player] call BIS_fnc_shakeMap;

See also

BIS_fnc_shakeMapEH