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

◆ CreateObject()

proto native Object CGame::CreateObject ( string type,
vector pos,
bool create_local = false,
bool init_ai = false,
bool create_physics = true )
private

Creates object of certain type.

Аргументы
typeof objects to create
posposition where to create object
create_localif True, object is not spawned on clients only on server
init_aiif creating object is LightAI class, by this param is initialised AI or not
Возвращает
new Object

Используется в DayZIntroSceneXbox::DayZIntroSceneXbox(), FirearmEffects(), Grenade_ChemGas::OnExplode(), Release(), BleedingSourcesManagerBase::SetDiag() и ShootsExplosiveAmmo().