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

◆ OnDebugSpawn()

override void OffroadHatchback_Blue::OnDebugSpawn ( )
inlineprivate

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

517 {
519 SpawnAdditionalItems();
520 FillUpCarFluids();
521
522 GameInventory inventory = GetInventory();
523 inventory.CreateInInventory("HatchbackWheel");
524 inventory.CreateInInventory("HatchbackWheel");
525 inventory.CreateInInventory("HatchbackWheel");
526 inventory.CreateInInventory("HatchbackWheel");
527
528 inventory.CreateInInventory("HatchbackDoors_Driver_Blue");
529 inventory.CreateInInventory("HatchbackDoors_CoDriver_Blue");
530 inventory.CreateInInventory("HatchbackHood_Blue");
531 inventory.CreateInInventory("HatchbackTrunk_Blue");
532
533 //-----IN CAR CARGO
534 inventory.CreateInInventory("HatchbackWheel");
535 inventory.CreateInInventory("HatchbackWheel");
536 }
void SpawnUniversalParts()
Определения MotorbikeScript.c:1425
EntityAI CreateInInventory(string type)
creates entity somewhere in inventory

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