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

◆ SpawnVehicles()

proto native void SpawnVehicles ( vector vPos,
bool bShowCylinders = false,
float fDefaultDistance = 20 )
private

Spawn all entities with vehicles category through CE.

Заметки
DEVELOPER/DIAG ONLY
Will print additional logs to RPT
Аргументы
vPosvector The position to spawn the Entities at
Заметки
This will be the starting position, vehicles spawn with 20m spacing
Make sure you do it on a surface as flat and open as possible, they need a lot of space
Аргументы
bShowCylindersbool Does nothing for Vehicles, left for backwards compat
fDefaultDistancefloat The default distance to use when the entity does not have a CE BBox
Заметки
This means that all the ones with invalid CE BBoxes will be piled up at the starting position when this is 0
GetCEApi().SpawnVehicles(Vector(5, 10, 5));
proto native CEApi GetCEApi()
Get the CE API.
proto native vector Vector(float x, float y, float z)
Vector constructor from components.