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

◆ OnDebugSpawn()

class OffroadHatchback extends CarScript OnDebugSpawn ( )

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

483 {
484 SpawnUniversalParts();
485 SpawnAdditionalItems();
486 FillUpCarFluids();
487
488 GameInventory inventory = GetInventory();
489 inventory.CreateInInventory("HatchbackWheel");
490 inventory.CreateInInventory("HatchbackWheel");
491 inventory.CreateInInventory("HatchbackWheel");
492 inventory.CreateInInventory("HatchbackWheel");
493
494 inventory.CreateInInventory("HatchbackDoors_Driver_White");
495 inventory.CreateInInventory("HatchbackDoors_CoDriver_White");
496 inventory.CreateInInventory("HatchbackHood_White");
497 inventory.CreateInInventory("HatchbackTrunk_White");
498
499 //-----IN CAR CARGO
500 inventory.CreateInInventory("HatchbackWheel");
501 inventory.CreateInInventory("HatchbackWheel");
502 }
EntityAI CreateInInventory(string type)
creates entity somewhere in inventory
script counterpart to engine's class Inventory

Перекрестные ссылки m_UTSLEngine, m_UTSource, m_UTSSettings и UniversalTemperatureSourceLambdaEngine().