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

◆ SpawnUniversalParts()

void Car::SpawnUniversalParts ( )
inlineprotected

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

3122 {
3123 GameInventory inventory = GetInventory();
3124 inventory.CreateInInventory("HeadlightH7");
3125 inventory.CreateInInventory("HeadlightH7");
3126 inventory.CreateInInventory("HeadlightH7");
3127 inventory.CreateInInventory("HeadlightH7");
3128
3129 if (IsVitalCarBattery())
3130 {
3131 inventory.CreateInInventory("CarBattery");
3132 inventory.CreateInInventory("CarBattery");
3133 }
3134
3135 if (IsVitalTruckBattery())
3136 {
3137 inventory.CreateInInventory("TruckBattery");
3138 inventory.CreateInInventory("TruckBattery");
3139 }
3140
3141 if (IsVitalRadiator())
3142 {
3143 inventory.CreateInInventory("CarRadiator");
3144 inventory.CreateInInventory("CarRadiator");
3145 }
3146
3147 if (IsVitalSparkPlug())
3148 {
3149 inventory.CreateInInventory("SparkPlug");
3150 inventory.CreateInInventory("SparkPlug");
3151 }
3152
3153 if (IsVitalGlowPlug())
3154 {
3155 inventory.CreateInInventory("GlowPlug");
3156 inventory.CreateInInventory("GlowPlug");
3157 }
3158 }
bool IsVitalGlowPlug()
Определения CarScript.c:2744
bool IsVitalRadiator()
Определения CarScript.c:2754
bool IsVitalTruckBattery()
Определения CarScript.c:2739
bool IsVitalCarBattery()
Определения CarScript.c:2734
EntityAI CreateInInventory(string type)
creates entity somewhere in inventory

Перекрестные ссылки GameInventory::CreateInInventory(), CarScript::IsVitalCarBattery(), CarScript::IsVitalGlowPlug(), CarScript::IsVitalRadiator(), CarScript::IsVitalSparkPlug() и CarScript::IsVitalTruckBattery().