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

◆ SpawnInInventoryOrGroundPos()

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

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

2138 {
2139 if (inv)
2140 {
2141 EntityAI res = inv.CreateInInventory(object_name);
2142 if (res)
2143 {
2144 return res;
2145 }
2146 }
2147
2148 return SpawnEntityOnGroundPos(object_name, pos);
2149 }
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().