I'm creating a prefab for spawning weapons. I have the following:
- An AK47 with 800 rounds (name: full_weapon_ak47) with an output set to "OnPlayerPickup, ForceSpawn full_weapon_entity_maker_&i) after 2 seconds"
- A point_template (name: full_weapon_point_template_&i) with Template1 set to full_weapon_ak47
- An env_entity_maker (name: full_weapon_entity_maker_&i) with the Point_template to spawn set to full_weapon_point_template_&i
- A logic_timer (name: full_weapon_logic_timer_&i) set to fire full_weapon_entity_maker_&i initially to create the first weapon.
It works
almost right. The weapon spawns initially, so the timer is working. When I pick up the weapon, another one spawns after 2 seconds.
The problem: the weapon doesn't spawn at any origin that I can determine. It doesn't spawn at the origin of its model, the origin of the env_entity_maker, the origin of the timer, or the origin of the point_template.
Is there some secret to forcing the spawn location? What have I missed?
Thanks!
[edit] There's absolutely NOTHING in the way of it spawning (nothing within a few hundred units).