BIS fnc shakeMap: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (page filled)
m (Text replacement - "\[\[Category:Function Group: [a-zA-Z0-9_: ]+(\|\{\{[a-zA-Z0-9_: ]+\}\})?\]\]" to " ")
Line 33: Line 33:
}}
}}


[[Category:Function Group: Map|{{uc:shakeMap}}]]
 
 
 
[[Category:Functions|{{uc:shakeMap}}]]
[[Category:Functions|{{uc:shakeMap}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:shakeMap}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:shakeMap}}]]

Revision as of 13:15, 13 October 2020

Hover & click on the images for description

Description

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.
Execution:
call
Groups:
Uncategorised

Syntax

Syntax:
[duration, magnitude, center] call BIS_fnc_shakeMap
Parameters:
duration: Number - Duration of the effect
magnitude: Number - Magnitude of the shaking force
center: Array - Center position of the effect
Return Value:
Nothing

Examples

Example 1:
[2,20,getMarkerPos "BIS_markerExtraction0"] call BIS_fnc_shakeMap;
Example 2:
[2,20,getPos player] call BIS_fnc_shakeMap;

Additional Information

See also:
BIS_fnc_shakeMapEH

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note