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

◆ EEItemLocationChanged()

override void HeadGear_Base::EEItemLocationChanged ( notnull InventoryLocation oldLoc,
notnull InventoryLocation newLoc )
inlineprotected

См. определение в файле BurlapSackCover.c строка 13

14 {
15 super.EEItemLocationChanged(oldLoc,newLoc);
16
17 if (g_Game.IsDedicatedServer() && newLoc.GetType() == InventoryLocationType.GROUND)
18 {
19 EntityAI newItem = EntityAI.Cast(g_Game.CreateObjectEx("BurlapSack",newLoc.GetPos(),ECE_PLACE_ON_SURFACE,RF_DEFAULT));
20 MiscGameplayFunctions.TransferItemProperties(this,newItem);
21 DeleteSafe();
22 }
23 }
class LogManager EntityAI
const int ECE_PLACE_ON_SURFACE
Определения CentralEconomy.c:37
const int RF_DEFAULT
Определения CentralEconomy.c:65
DayZGame g_Game
Определения DayZGame.c:3942
InventoryLocationType
types of Inventory Location
Определения InventoryLocation.c:4

Перекрестные ссылки ECE_PLACE_ON_SURFACE, g_Game и RF_DEFAULT.