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

◆ SpawnDynamic()

proto native void SpawnDynamic ( vector vPos,
bool bShowCylinders = true,
float fDefaultDistance = 0 )
private

Spawn all entities with dynamic 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, the items will be split into segments by CE BBox size (smallest to largest)
Аргументы
bShowCylindersbool Whether to draw the CE BBox with debug shapes
Заметки
Red: Invalid BBox; Yellow: Not in DB; Green: All ok
Аргументы
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().SpawnDynamic(Vector(5, 10, 5), true);
proto native CEApi GetCEApi()
Get the CE API.
proto native vector Vector(float x, float y, float z)
Vector constructor from components.