mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-15 04:23:13 +03:00
@@ -6,20 +6,7 @@ _pos = getPosATL _unit;
|
||||
if (count _this > 2) then {
|
||||
_pos = _this select 2;
|
||||
} else {
|
||||
//_unit enableAI "MOVE";
|
||||
//_unit enableAI "ANIM";
|
||||
//_pos = [_originalPos,10,90,4,0,5,0] call BIS_fnc_findSafePos;
|
||||
_pos = [_originalPos,10,(10 - (random (90 * 2))),0] call fn_selectRandomLocation;
|
||||
};
|
||||
|
||||
/*
|
||||
if(isNull group _unit) then {
|
||||
_unit moveTo _pos;
|
||||
} else {
|
||||
_unit domove _pos;
|
||||
};
|
||||
_unit forceSpeed 2;
|
||||
_unit setVariable ["myDest",_pos];
|
||||
*/
|
||||
|
||||
_pos
|
||||
|
||||
Reference in New Issue
Block a user