mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
15 lines
284 B
Plaintext
15 lines
284 B
Plaintext
_epicenter = _this;
|
|
_distance = player distance _epicenter;
|
|
_intensity = 1;
|
|
if (_distance < 250) then {
|
|
_intensity = 4;
|
|
} else {
|
|
if (_distance < 500) then {
|
|
_intensity = 3;
|
|
} else {
|
|
if (_distance < 750) then {
|
|
_intensity = 2;
|
|
};
|
|
};
|
|
};
|
|
_intensity spawn BIS_fnc_earthQuake; |