BIS fnc shakeMap: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<code>([^<]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^<]*) *<\/code>" to "<code>$1$2$3</code>") |
Lou Montana (talk | contribs) m (Text replacement - "<code> *([^<|{]*) *<\/code>" to "<sqf>$1</sqf>") |
||
Line 18: | Line 18: | ||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
|x1= < | |x1= <sqf>[2,20,getMarkerPos "BIS_markerExtraction0"] call BIS_fnc_shakeMap;</sqf> | ||
|x2= < | |x2= <sqf>[2,20,getPos player] call BIS_fnc_shakeMap;</sqf> | ||
|seealso= [[BIS_fnc_shakeMapEH]] | |seealso= [[BIS_fnc_shakeMapEH]] | ||
}} | }} |
Revision as of 22:44, 12 July 2022
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:
- Map and Markers
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:
- Example 2:
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