How to make trigger trigger on collision with other ent.
1 replies, posted
Hello facepunch, I am intending on making this killer axe feature on a map im making atm. What i need to do, seems simple at first, but after much trial and error, i cant find a solution. I have made this trigger_hurt over the axe and made it disable, and on the other side of the map, i have made a trigger_multiple. I parented the trigger_hurt to the axe prop itself, but i cant seem to make the trigger_hurt enabled when it touches the trigger_multiple so it starts hurting players and playing particle/sound effects. The only way ive managed it to enable is onstarttouch, trigger_hurt, enable. but that makes anything that touches it enables the trigger_hurt, i only want the axe itself enable the trigger_hurt.. Please help.
You need to filter the name(targetname) of the axe entity, so the trigger_multiple only activates the trigger_hurt when the axe is in the trigger field.
[url]http://developer.valvesoftware.com/wiki/Filter_Applications#Targetname_Filtering[/url]
Sorry, you need to Log In to post a reply to this thread.