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

◆ OnDebugSpawn()

override void OffroadHatchback::OnDebugSpawn ( )
inlineprotected

См. определение в файле Vehicles/InheritedCars/OffroadHatchback.c строка 465

466 {
468 SpawnAdditionalItems();
469 FillUpCarFluids();
470
471 GameInventory inventory = GetInventory();
472 inventory.CreateInInventory("HatchbackWheel");
473 inventory.CreateInInventory("HatchbackWheel");
474 inventory.CreateInInventory("HatchbackWheel" );
475 inventory.CreateInInventory("HatchbackWheel");
476
477 inventory.CreateInInventory("HatchbackDoors_Driver");
478 inventory.CreateInInventory("HatchbackDoors_CoDriver");
479 inventory.CreateInInventory("HatchbackHood");
480 inventory.CreateInInventory("HatchbackTrunk");
481
482 //-----IN CAR CARGO
483 inventory.CreateInInventory("HatchbackWheel");
484 inventory.CreateInInventory("HatchbackWheel");
485 }
void SpawnUniversalParts()
Определения MotorbikeScript.c:1425
EntityAI CreateInInventory(string type)
creates entity somewhere in inventory

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