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

◆ OnDebugSpawn

override void OnDebugSpawn

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

415 {
416 SpawnUniversalParts();
417 SpawnAdditionalItems();
418 FillUpCarFluids();
419
420 GameInventory inventory = GetInventory();
421 inventory.CreateInInventory("Hatchback_02_Wheel");
422 inventory.CreateInInventory("Hatchback_02_Wheel");
423 inventory.CreateInInventory("Hatchback_02_Wheel");
424 inventory.CreateInInventory("Hatchback_02_Wheel");
425
426 inventory.CreateInInventory("Hatchback_02_Door_1_1_Black");
427 inventory.CreateInInventory("Hatchback_02_Door_1_2_Black");
428 inventory.CreateInInventory("Hatchback_02_Door_2_1_Black");
429 inventory.CreateInInventory("Hatchback_02_Door_2_2_Black");
430 inventory.CreateInInventory("Hatchback_02_Hood_Black");
431 inventory.CreateInInventory("Hatchback_02_Trunk_Black");
432
433 //-----IN CAR CARGO
434 inventory.CreateInInventory("Hatchback_02_Wheel");
435 inventory.CreateInInventory("Hatchback_02_Wheel");
436 }
EntityAI CreateInInventory(string type)
creates entity somewhere in inventory
script counterpart to engine's class Inventory

Используется в Entity::OnDebugSpawnEx().