mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 12:12:34 +03:00
19 lines
440 B
Plaintext
19 lines
440 B
Plaintext
// (c) facoptere@gmail.com, licensed to DayZMod for the community
|
|
|
|
// grasshopper sound near gatherable plants
|
|
|
|
sched_plantHint = {
|
|
{
|
|
(getPosATL _x) spawn {
|
|
uiSleep random 10;
|
|
_sound=format["Sound_Crickets%1",1+floor random 3];
|
|
//diag_log [ _sound ];
|
|
_x = createSoundSource [_sound, _this, [], 0];
|
|
uiSleep 2;
|
|
deleteVehicle _x;
|
|
};
|
|
false
|
|
} count (nearestObjects [getPosATL player, ["Plant_Base"], 15]);
|
|
|
|
objNull
|
|
}; |