BIS fnc earthquake: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Reverted edits by nomisum (talk) to last revision by R3vo)
Tag: Rollback
(callspawn)
Line 6: Line 6:
|1.00|Game version=
|1.00|Game version=


|eff= local |= effect
|eff= local |effect=


|gr1 = Environment |GROUP1=
|gr1 = Environment |GROUP1=
Line 12: Line 12:


| Earthquake simulation - now just camera shake and sound. [[Arma 3 Stamina|Stamina]] is impacted by the earthquake too. |DESCRIPTION=
| Earthquake simulation - now just camera shake and sound. [[Arma 3 Stamina|Stamina]] is impacted by the earthquake too. |DESCRIPTION=
|exec= spawn |Execution=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [intensity] call [[BIS_fnc_earthquake]] |SYNTAX=
| [intensity] spawn [[BIS_fnc_earthquake]] |SYNTAX=


|p1= intensity: [[Number]] - (Optional, default 2) can be 1, 2, 3 or 4. Any other value will fall back to the default value |PARAMETER1=
|p1= intensity: [[Number]] - (Optional, default 2) can be 1, 2, 3 or 4. Any other value will fall back to the default value |PARAMETER1=
Line 21: Line 23:
____________________________________________________________________________________________
____________________________________________________________________________________________


|x1= <code>[4] [[call]] [[BIS_fnc_earthquake]];</code> |EXAMPLE1=
|x1= <code>[4] [[spawn]] [[BIS_fnc_earthquake]];</code> |EXAMPLE1=
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 35: Line 37:


<h3 style="display:none">Bottom Section</h3>
<h3 style="display:none">Bottom Section</h3>
[[Category:Functions|{{uc:earthquake}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:earthquake}}]]

Revision as of 01:58, 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:
spawn
Groups:
Environment

Syntax

Syntax:
[intensity] spawn 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] spawn 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