DayZ
1.27
DayZ Explorer by KGB
Загрузка...
Поиск...
Не найдено
◆
SpawnDE()
proto native void SpawnDE
(
string
sEvName
,
vector
vPos
,
float
fAngle
=
-1
)
private
Force spawn specific dynamic event.
Заметки
DEVELOPER/DIAG ONLY
Versatile, can be used for Animal, Infected,
Static
, Item and Vehicle
Is the only one capable of spawning DE's that have DE Groups
Is the same as the next one, but has ECE_FULL flags and a hidden flag which overrides herd limit
This is also FORCE spawn, so it will bypass any limit and avoidance checks
Аргументы
sEvName
string
The DE to spawn
vPos
vector
The position to spawn the
Entity
at
fAngle
float
Angle to spawn the
Entity
with in degrees [0, 360]
Заметки
When a negative value, will pick a random one
Возвращает
bool
Whether the spawn was successful
GetCEApi
().SpawnDE(
"StaticHeliCrash"
,
Vector
(5, 10, 5));
GetCEApi
proto native CEApi GetCEApi()
Get the CE API.
Vector
proto native vector Vector(float x, float y, float z)
Vector constructor from components.
Ishodniki
scripts
3_Game
CE
CentralEconomy.c
Создано системой
1.13.2