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

◆ SpawnSingleEntity()

proto native Object SpawnSingleEntity ( string sClassName,
vector vPos )
private

Spawn an entity through CE.

Заметки
DEVELOPER/DIAG ONLY
Is the same as SpawnEntity, but spawns only one and returns the spawned Object
Аргументы
sClassNamestring The entity to spawn
vPosvector The position to spawn the Entity at
Возвращает
Object The spawned Object
GetCEApi().SpawnSingleEntity("Deagle", 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.