mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
+ [CHANGED] Can now fill empty fuel barrels on standard fuel tanks. + [CHANGED] Increased range of crafting from 2m to 3m + [FIXED] Removed repair action from tow truck with VIL_asistvan_DZE + [ADDED] Tow truck VIL_asistvan_DZE can tow vehicles that fit within the bounding box of the model. + [ADDED] Ability for fuel trucks to fill nearby vehicles 30m when engine is running. + [CHANGED] Reworked Epoch events scheduler and made it more accurate. + [REMOVED] Road debris no longer spawn loot, helps with performance and we have added extra loot positions in the world. + and more
11 lines
341 B
Plaintext
11 lines
341 B
Plaintext
private ["_sound","_num","_length","_pause"];
|
|
while {!r_player_dead} do {
|
|
_num = floor(random 36);
|
|
_sound = "z_suspense_" + str(_num);
|
|
_length = getNumber(configFile >> "cfgMusic" >> _sound >> "Duration");
|
|
_pause = ((random 5) + 2) + _length;
|
|
if (!r_player_unconscious and !r_pitchWhine) then {
|
|
playMusic _sound;
|
|
};
|
|
sleep _pause;
|
|
}; |