BIS fnc earthquake: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (some more information)
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Function|Comments=
{{Function|Comments=
____________________________________________________________________________________________


| arma3 |Game name=
| arma3 |Game name=
Line 9: Line 8:


|gr1 = Environment |GROUP1=
|gr1 = Environment |GROUP1=
____________________________________________________________________________________________


| Earthquake simulation - now just camera shake and sound. [[Arma 3 Stamina|Stamina]] is impacted by the earthquake too. Earthquake will last between 13 and 20 seconds. While earthquake is in progress [[missionNamespace]] variable <tt>BIS_fnc_earthquake_inprogress</tt> will be [[true]]. |DESCRIPTION=
| Earthquake simulation - now just camera shake and sound. [[Arma 3 Stamina|Stamina]] is impacted by the earthquake too. Earthquake will last between 13 and 20 seconds. While earthquake is in progress [[missionNamespace]] variable <tt>BIS_fnc_earthquake_inprogress</tt> will be [[true]]. |DESCRIPTION=


|exec= spawn |Execution=
|exec= spawn |Execution=
____________________________________________________________________________________________


| [intensity] spawn [[BIS_fnc_earthquake]] |SYNTAX=
| [intensity] spawn [[BIS_fnc_earthquake]] |SYNTAX=
Line 21: Line 18:


| [[Nothing]] |RETURNVALUE=
| [[Nothing]] |RETURNVALUE=
____________________________________________________________________________________________


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


| [[addCamShake]] |SEEALSO=
| [[addCamShake]] |SEEALSO=

Revision as of 23:06, 16 January 2021

Hover & click on the images for description

Description

Description:
Earthquake simulation - now just camera shake and sound. Stamina is impacted by the earthquake too. Earthquake will last between 13 and 20 seconds. While earthquake is in progress missionNamespace variable BIS_fnc_earthquake_inprogress will be true.
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