BIS fnc earthquake: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl>" to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...)
Line 1: Line 1:
{{Function|Comments=
{{Function


| arma3 |Game name=
| arma3


|1.00|Game version=
|1.00


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


|gr1 = Environment |GROUP1=
|gr1 = Environment


| 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]].


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


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


|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


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


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


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




<h3 style="display:none">Bottom Section</h3>
<h3 style="display:none">Bottom Section</h3>

Revision as of 00:04, 18 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


Bottom Section