DayZ 1.27
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ AvoidVehicle()

proto native bool AvoidVehicle ( vector vPos,
float fDistance,
string sDEName = "" )
private

Check if there is a vehicle within a radius.

Аргументы
vPosvector The center point
fDistancefloat The radius around the center point
sDENamestring A specific DE to avoid, if left empty, will avoid all vehicles
Возвращает
bool Returns false when there is a vehicle inside supplied area, true when it successfully avoided vehicles
GetCEApi().AvoidVehicle(Vector(500, 0, 500), 500, "VehicleCivilianSedan");
proto native CEApi GetCEApi()
Get the CE API.
proto native vector Vector(float x, float y, float z)
Vector constructor from components.