mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-24 17:39:18 +03:00
17 lines
340 B
Plaintext
17 lines
340 B
Plaintext
private["_array","_handle","_whistle","_dog"];
|
|
_array = _this select 3;
|
|
_handle = _array select 0;
|
|
_whistle = _array select 1;
|
|
_dog = _handle getFSMVariable "_dog";
|
|
|
|
if(_whistle) then {
|
|
[nil,player,rSAY,["dog_callBack", 120]] call RE;
|
|
};
|
|
|
|
sleep 1;
|
|
|
|
if (_dog distance player <= 900) then {
|
|
_handle setFSMVariable ["_command","return"];
|
|
};
|
|
|