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

◆ SpawnDEEx()

proto native void SpawnDEEx ( string sEvName,
vector vPos,
float fAngle,
int uFlags )
private

Force spawn specific dynamic event.

Заметки
DEVELOPER/DIAG ONLY
Is the same one as above but with the possibility of custom flags
Аргументы
sEvNamestring The DE to spawn
vPosvector The position to spawn the Entity at
fAnglefloat Angle to spawn the Entity with in degrees [0, 360]
Заметки
When a negative value, will pick a random one
Аргументы
uFlagsint ECE flags to apply while spawning the DE
Возвращает
bool Whether the spawn was successful
GetCEApi().SpawnDEEx("StaticHeliCrash", Vector(5, 10, 5), ECE_FULL);
proto native CEApi GetCEApi()
Get the CE API.
const int ECE_FULL
Определения CentralEconomy.c:40
proto native vector Vector(float x, float y, float z)
Vector constructor from components.