BIS fnc shakeMap: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<code> *([^<|{]*) *<\/code>" to "<sqf>$1</sqf>") |
Lou Montana (talk | contribs) m (Text replacement - "(\|[pr][0-9]+ *= *[^-]+) *- *C([a-eg-z])" to "$1 - c$2") |
||
Line 14: | Line 14: | ||
|p2= magnitude: [[Number]] - Magnitude of the shaking force | |p2= magnitude: [[Number]] - Magnitude of the shaking force | ||
|p3= center: [[Array]] - | |p3= center: [[Array]] - center [[Position|position]] of the effect | ||
|r1= [[Nothing]] | |r1= [[Nothing]] |
Revision as of 14:00, 8 November 2023
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