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

◆ SpawnInInventoryOrGroundPos()

EntityAI Entity::SpawnInInventoryOrGroundPos ( string object_name,
GameInventory inv,
vector pos )
inlineprotected

См. определение в файле 3_Game/DayZ/Entities/EntityAI.c строка 2122

2123 {
2124 if (inv)
2125 {
2126 EntityAI res = inv.CreateInInventory(object_name);
2127 if (res)
2128 {
2129 return res;
2130 }
2131 }
2132
2133 return SpawnEntityOnGroundPos(object_name, pos);
2134 }
EntityAI SpawnEntityOnGroundPos(string object_name, vector pos)
void EntityAI()
cache blood infection chance (cfgVehicles-><entity>->Skinning->BloodInfectionSettings)
EntityAI CreateInInventory(string type)
creates entity somewhere in inventory

Перекрестные ссылки GameInventory::CreateInInventory(), EntityAI() и SpawnEntityOnGroundPos().