Files
DayZ-Epoch/SQF/dayz_code/compile/zombie_loiter.sqf
ebaydayz 6853263f3d Update zombie generate
Vanilla commits:

09aa9f8879

68be696c4d
2016-11-21 18:33:41 -05:00

13 lines
279 B
Plaintext

private["_unit","_originalPos","_pos"];
_unit = _this select 0;
_originalPos = _this select 1;
_pos = getPosATL _unit;
if (count _this > 2) then {
_pos = _this select 2;
} else {
_pos = [_originalPos,10,(10 - (random (90 * 2))),0] call fn_selectRandomLocation;
};
_pos