-
Notifications
You must be signed in to change notification settings - Fork 1
Earthquake
Mike-MF edited this page May 16, 2023
·
1 revision
This page will explain the usage of the Earthquake function.
/*
* Author: Zozo (BI), Mike
* Rewrite of BIS_fnc_earthquake to run unscheduled and remove excess fatigue code.
* Uses magnitude between 1-5.
*
* Call from init.sqf
*
* Arguments:
* 0: Magnitude <NUMBER> (default: 1)
*
* Return Value:
* None
*
* Example:
* [1] call MFUNC(earthquake);
*/
This function creates an earthquake which does not interact with the environment, just simply creates the effect locally for the player.
The magnitude scales between 1 and 5. 1 being the weakest and 5 being the strongest.
This should be called Globally from a trigger or target event if only specific people need to experience it.
Example:
[1] call MFUNC(earthquake);
Pages
- Home
- Your First Mission
- Creating A Mission
- Contract Missions
- Difficulty Guidelines
-
Functions Library
- Base Spectator
- Bomber
- Car Alarm
- Chemical Detector
- Collect Intel
- Connect Battery To Defusable
- Contamination Gas
- Count Alive
- Dialogue
- Disable AI
- Download Intel
- Earthquake
- Enable AI
- Force Shooting
- Ground Fog
- Hunt
- Lock Doors
- Mark Buildings
- Monitor Units
- Mortar Strike
- Ping
- Players
- Reaction
- Reinforcements
- Reinforcement Waves
- Respirator Effects
- Set Sleeping
- Sound Source
- Surrender
- Switch Action
- Teleport
- Toggle Lights
- Trigger Area
- Helicopters
- Resources
- Quality Checklist
- Useful Commands
- ArmaQDL