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

◆ OnDebugSpawnEx()

override void Crossbow_Base::OnDebugSpawnEx ( DebugSpawnParams params)
inlineprivate

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

167 {
168 //super.OnDebugSpawn();
169
170
171
172 GetInventory().CreateInInventory( "ACOGOptic_6x" );
173
174 EntityAI entity;
175
176 GameInventory inv = null;
177 if (params.m_Player)
178 {
179 inv = params.m_Player.GetInventory();
180 }
181
182 SpawnInInventoryOrGroundPos("Ammo_HuntingBolt", inv, GetPosition());
183 SpawnInInventoryOrGroundPos("Ammo_ImprovisedBolt_1", inv, GetPosition());
184 SpawnInInventoryOrGroundPos("Ammo_ImprovisedBolt_2", inv, GetPosition());
185
186 SpawnInInventoryOrGroundPos("ACOGOptic", inv, GetPosition());
187 entity = SpawnInInventoryOrGroundPos("M68Optic", inv, GetPosition());
188 entity.GetInventory().CreateInInventory( "Battery9V" );
189 entity = SpawnInInventoryOrGroundPos("M4_T3NRDSOptic", inv, GetPosition());
190 entity.GetInventory().CreateInInventory( "Battery9V" );
191 entity = SpawnInInventoryOrGroundPos("ReflexOptic", inv, GetPosition());
192 entity.GetInventory().CreateInInventory( "Battery9V" );
193 entity = SpawnInInventoryOrGroundPos("StarlightOptic", inv, GetPosition());
194 entity.GetInventory().CreateInInventory( "Battery9V" );
195 }
class LogManager EntityAI
class JsonUndergroundAreaTriggerData GetPosition
Определения UndergroundAreaLoader.c:9

Перекрестные ссылки GetPosition.