Any suggestions for this senario.
Any suggestions for this senario.
OK, I'm fairly n00b and not sure how to go about this.
I have a room with 4 npc's, I want when they are all killed by player/squad for a func_breakable piece of glass (that is at the time unbreakable) to shatter completely. where I have more npc's sleeping/waiting behind the glass, that will then proceed to attack.
Or alternatively when the player ventures so far into the room he passes a trigger that sets of the glass to break.
I'd prefer the first method if possible.
The 4 npc's intially in the room are agrunt's the npc's behind the glass are stalkers.
Any ideas/suggestions on how to achieve this....?
I have a room with 4 npc's, I want when they are all killed by player/squad for a func_breakable piece of glass (that is at the time unbreakable) to shatter completely. where I have more npc's sleeping/waiting behind the glass, that will then proceed to attack.
Or alternatively when the player ventures so far into the room he passes a trigger that sets of the glass to break.
I'd prefer the first method if possible.
The 4 npc's intially in the room are agrunt's the npc's behind the glass are stalkers.
Any ideas/suggestions on how to achieve this....?
If you have four NPCs then you need a math_counter.
First you set all npcs OnDeath to increment the math_counter. Have the math counters max set to 4, and have it break the glass when it reaches it. Or you could just use an npc_maker and have it break the glass when all npcs are dead. You will probably have to use the math_counter unless you want all npcs spawning in the same place in which case the npc_maker will do just fine.
First you set all npcs OnDeath to increment the math_counter. Have the math counters max set to 4, and have it break the glass when it reaches it. Or you could just use an npc_maker and have it break the glass when all npcs are dead. You will probably have to use the math_counter unless you want all npcs spawning in the same place in which case the npc_maker will do just fine.
-
- Obsidian Premium
- Posts: 1624
- Joined: Mon May 29, 2006 12:06 pm
-
- npc_metropolice
- Posts: 237
- Joined: Sat Sep 23, 2006 2:25 am
-
- Obsidian Premium
- Posts: 1624
- Joined: Mon May 29, 2006 12:06 pm
yay thenfragged131 wrote:I meant to say that you bitch slapped him.[JSC][GU]PREDATOR wrote:I thought i was doing you a favour.fragged131 wrote:Virtual-BitchSlap![JSC][GU]PREDATOR wrote:Most of your posts are in threads made about 3 months ago, if thats not spam then i don't know what it is.Kijiki wrote:Lol:spam!:
- Mr. Someguy
- npc_hunter
- Posts: 512
- Joined: Fri Dec 22, 2006 11:40 pm
- Location: Pennsylvania
I have one from MI and one from the leak (they look the same though)skidz wrote:The stalkers arnt that aggressive atm because of the episode 1 code. Their animations are also very slow. I would love the old beta stalkers in Obsidian. Anyone have an old beta stalker model?
Last edited by Mr. Someguy on Sun Dec 24, 2006 4:41 pm, edited 1 time in total.
-
- Forum Furry
- Posts: 512
- Joined: Tue Aug 22, 2006 3:53 am
- Mr. Someguy
- npc_hunter
- Posts: 512
- Joined: Fri Dec 22, 2006 11:40 pm
- Location: Pennsylvania