Earthquake - Theseus-Aegis/MissionTemplate GitHub Wiki
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);