Please or Register to create posts and topics.

Trigger which activates when hit with a portal

How do you create a trigger that does something, when you shoot at it with the portal gun? I can't find anything under trigger once or multiple on the wiki. Also, does trigger_weapon_strip work in portal? And if so, how? Thanks.

The square root of rope is string.

Use a func_portal_detector. It has the ability to fire outputs when a portal1 (blue) touches the trigger, when a portal2 (orange) touches the trigger, when one linked portal touches the trigger, and when two linked portals touch the trigger.

Incidentally, this is the trigger used in the detachment of security cameras.

As for the trigger_weapon_strip, I'm not sure. You might as well test it out and see if it works. Try searching the VDC and the TWP/mAL forums if you need more help with it; someone might have put something about it down already.

Image
Now with 100% more inline comments!

Ah, how could I forget the name of it.
Thanks for the help.

The square root of rope is string.