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

◆ OnDebugSpawn()

override void OffroadHatchback::OnDebugSpawn ( )
inlineprivate

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

508 {
509 SpawnUniversalParts();
510 SpawnAdditionalItems();
511 FillUpCarFluids();
512
513 GameInventory inventory = GetInventory();
514 inventory.CreateInInventory("HatchbackWheel");
515 inventory.CreateInInventory("HatchbackWheel");
516 inventory.CreateInInventory("HatchbackWheel");
517 inventory.CreateInInventory("HatchbackWheel");
518
519 inventory.CreateInInventory("HatchbackDoors_Driver_Blue");
520 inventory.CreateInInventory("HatchbackDoors_CoDriver_Blue");
521 inventory.CreateInInventory("HatchbackHood_Blue");
522 inventory.CreateInInventory("HatchbackTrunk_Blue");
523
524 //-----IN CAR CARGO
525 inventory.CreateInInventory("HatchbackWheel");
526 inventory.CreateInInventory("HatchbackWheel");
527 }
EntityAI CreateInInventory(string type)
creates entity somewhere in inventory