Weapon Spawn on NPC Death

Weapon Spawn on NPC Death

Re: Weapon Spawn on NPC Death Posted by mmrempen on Mon Jun 11th 2007 at 9:37pm
mmrempen
7 posts
Posted 2007-06-11 9:37pm
mmrempen
member
7 posts 1 snarkmarks Registered: Jun 9th 2007
So I have this poison zombie that carries a shotgun on his back, and I want him to drop the shotgun when he dies, so the player can pick it up.

What I did is I made a env_entity_maker parented to the zombie, then made a point_template. I have a shotgun on the roof (unreachable), and I made template #1 under point_template set to the shotgun's name (shotty1). Then I made an output on the zombie that upon its death, it would make the env_entity_maker forcespawn. I also linked the point_template and the entity_maker as was instructed in various tutorials.

No shotgun appears when zombie dies. Am I doing something wrong?
Re: Weapon Spawn on NPC Death Posted by mmrempen on Wed Jun 13th 2007 at 3:33pm
mmrempen
7 posts
Posted 2007-06-13 3:33pm
mmrempen
member
7 posts 1 snarkmarks Registered: Jun 9th 2007
Nobody has any idea? Am I not being clear enough about what I'm trying to do, or is this just plain impossible? I thought it would be pretty simple, and that I was just missing a step. Any help would be really great.
Re: Weapon Spawn on NPC Death Posted by Riven on Wed Jun 13th 2007 at 9:19pm
Riven
1640 posts
Posted 2007-06-13 9:19pm
Riven
Wuch ya look'n at?
super admin
1640 posts 1266 snarkmarks Registered: May 2nd 2005 Occupation: Architect Location: Austin, Texas, USA
I'm not sure, but when I set up for triggers to be fired on an "ondeath" output, it doesn't normally work. It might just be a glitch, or I'm doing something wrong, but try triggering the shotgun to fall some other way. (By like a timer after the map spawns <just as a test>) To see that the rest of the setup works and that in fact, it probably is the "ondeath" output not firing.
Blog: www.playingarchitecture.net
LinkedIn: Eric Lancon
Twitter:@Riven202