BIS fnc earthquake: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl>" to "") |
Lou Montana (talk | contribs) 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 | {{Function | ||
| arma3 | | arma3 | ||
|1.00 | |1.00 | ||
|eff= local |effect= | |eff= local |effect= | ||
|gr1 = Environment | |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]]. | | 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]] | | [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 | |p1= intensity: [[Number]] - (Optional, default 2) can be 1, 2, 3 or 4. Any other value will fall back to the default value | ||
| [[Nothing]] | | [[Nothing]] | ||
|x1= <code>[4] [[spawn]] [[BIS_fnc_earthquake]];</code> | |x1= <code>[4] [[spawn]] [[BIS_fnc_earthquake]];</code> | ||
| [[addCamShake]] | | [[addCamShake]] | ||
}} | }} | ||
<h3 style="display:none">Bottom Section</h3> | <h3 style="display:none">Bottom Section</h3> |
Revision as of 23:04, 17 January 2021
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