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

◆ OnDebugSpawnEx()

override void Crossbow_Base::OnDebugSpawnEx ( DebugSpawnParams params)
inlineprivate

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

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

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