Page 1 of 1

Combine die on sight of an object

Posted: Thu Jan 13, 2011 10:54 pm
by Jack5500
hey Community,
I want a combine soldier to die, when he sees a certain Entity. The situation that should be triggered by that should be mroe complex but that isn't the problem.My Problem for now is that I can't find a way, to fire any output when a Combine Sodlier finds/sees a certain object. Can you help me?

Regards, Jack

Re: Combine die on sight of an object

Posted: Fri Jan 14, 2011 8:51 am
by fug4life
Do you want the player to see the combine die when the combine sees this entity?

Re: Combine die on sight of an object

Posted: Fri Jan 14, 2011 2:19 pm
by Jack5500
When the combine sees this entity

Re: Combine die on sight of an object

Posted: Fri Jan 14, 2011 2:42 pm
by Andrax17
we know that...but fug asked you if the death is something that players will see...

Re: Combine die on sight of an object

Posted: Fri Jan 14, 2011 2:48 pm
by Jack5500
The death is jsut an example trigger.In reality a few triggers will be triggered when the cop sees the entity

Re: Combine die on sight of an object

Posted: Fri Jan 14, 2011 4:57 pm
by fug4life
still didnt really explain yourself very well. All I can say is if you want the players to see the death then you'd need to trigger_hurt the npc (assuming you dont want this enemy shot). Youd probably need and info_target or npc_bullseye or npc_enemy finder and AI relationships so the combine knows it has spotted an enemy, then the Onfoundenemy can be used to trigger the hurt or simply just kill the entity if players arn't watching. You could try using set health or damage commands on an npc which might kill it, but I've always had issues with those commands, nearly always end up using a trigger to add/take health.

Re: Combine die on sight of an object

Posted: Thu Jan 20, 2011 1:37 am
by Zebra
So what you are saying is that the death in itself is irrelevant (due to the death being just an example), but just the triggering method of when an NPC sees an object?

I know that theres entities that can trigger something if a player sees it, but I'm not sure if that applies the same for NPCs. Also, I'm not entirely positive if that is in stock source games, as I've only noticed it used in Nightmare House 2, so that may have been a custom entity.

Re: Combine die on sight of an object

Posted: Fri Feb 18, 2011 11:36 pm
by SkyNinja
Zebra wrote:I know that theres entities that can trigger something if a player sees it, but I'm not sure if that applies the same for NPCs. Also, I'm not entirely positive if that is in stock source games, as I've only noticed it used in Nightmare House 2, so that may have been a custom entity.
I think it's a stock entity, but what I KNOW is that it's not compatible with multiplayer gameplay.