167 {
168 SpawnAmmo("Ammo_HuntingBolt",SAMF_DEFAULT);
169 GameInventory inventory = GetInventory();
170
171 GetInventory().CreateInInventory( "ACOGOptic_6x" );
172
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 }
vector GetPosition()
Get the world position of the Effect.