BIS fnc shakeMap: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "{{Function|= Comments " to "{{Function|Comments= ") |
m (page filled) |
||
Line 1: | Line 1: | ||
{{Function | {{Function | ||
| arma3 | |game1= arma3 | ||
|1.78 | |version1= 1.78 | ||
<! | <!--|serverExec= server--> | ||
<! | <!--|arg= local--> | ||
| | <!--|eff= local--> | ||
|descr= "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. | |||
|s1= [duration, magnitude, center] call [[BIS_fnc_shakeMap]] | |||
|p1= duration: [[Number]] - Duration of the effect | |||
|p2= magnitude: [[Number]] - Magnitude of the shaking force | |||
|p3= center: [[Array]] - Center [[Position|position]] of the effect | |||
| | |r1= [[Nothing]] | ||
| | |x1= <code>[2,20,[[getMarkerPos]] "BIS_markerExtraction0"] [[call]] [[BIS_fnc_shakeMap]];</code> | ||
| | |x2= <code>[2,20,[[getPos]] [[player]]] [[call]] [[BIS_fnc_shakeMap]];</code> | ||
| | |exec= call | ||
| | |seealso= [[BIS_fnc_shakeMapEH]] | ||
}} | }} | ||
Revision as of 15:17, 20 July 2020
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