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

◆ OnDebugSpawn()

override void Hatchback_02::OnDebugSpawn ( )
inlineprotected

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

394 {
396 SpawnAdditionalItems();
397 FillUpCarFluids();
398
399 GameInventory inventory = GetInventory();
400 inventory.CreateInInventory("Hatchback_02_Wheel");
401 inventory.CreateInInventory("Hatchback_02_Wheel");
402 inventory.CreateInInventory("Hatchback_02_Wheel");
403 inventory.CreateInInventory("Hatchback_02_Wheel");
404
405 inventory.CreateInInventory("Hatchback_02_Door_1_1");
406 inventory.CreateInInventory("Hatchback_02_Door_1_2");
407 inventory.CreateInInventory("Hatchback_02_Door_2_1");
408 inventory.CreateInInventory("Hatchback_02_Door_2_2");
409 inventory.CreateInInventory("Hatchback_02_Hood");
410 inventory.CreateInInventory("Hatchback_02_Trunk");
411
412 //-----IN CAR CARGO
413 inventory.CreateInInventory("Hatchback_02_Wheel");
414 inventory.CreateInInventory("Hatchback_02_Wheel");
415 }
void SpawnUniversalParts()
Определения MotorbikeScript.c:1425
EntityAI CreateInInventory(string type)
creates entity somewhere in inventory

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