BIS fnc earthquake: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 37: Line 37:
[[Category:Functions|{{uc:earthquake}}]]
[[Category:Functions|{{uc:earthquake}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:earthquake}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:earthquake}}]]
<!-- CONTINUE Notes -->
<dl class="command_description">
<dd class="notedate">Posted on October 29, 2020 - 23:31 (UTC)</dd>
<dt class="note">[[User:nomisum|nomisum]]</dt>
<dd class="note">
needs to be spawned as sleep is used in the fnc, e.g.
===== [intensity] spawn BIS_fnc_earthquake; =====
</dd>
</dl>
<!-- DISCONTINUE Notes -->

Revision as of 01:31, 30 October 2020

Hover & click on the images for description

Description

Description:
Earthquake simulation - now just camera shake and sound. Stamina is impacted by the earthquake too.
Execution:
call
Groups:
Environment

Syntax

Syntax:
[intensity] call BIS_fnc_earthquake
Parameters:
intensity: Number - (Optional, default 2) can be 1, 2, 3 or 4. Any other value will fall back to the default value
Return Value:
Nothing

Examples

Example 1:
[4] call BIS_fnc_earthquake;

Additional Information

See also:
addCamShake

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

Notes

Bottom Section

Posted on October 29, 2020 - 23:31 (UTC)
nomisum
needs to be spawned as sleep is used in the fnc, e.g.
[intensity] spawn BIS_fnc_earthquake;