Trigger which activates when hit with a portal

Avatar
Solomon
23 Posts
Posted Dec 26, 2009
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.
Advertisement
Registered users don’t see ads! Register now!
Avatar
WinstonSmith
940 Posts
Posted Dec 26, 2009
Replied 1 hour later
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.

Avatar
Solomon
23 Posts
Posted Dec 26, 2009
Replied 42 minutes later
Ah, how could I forget the name of it.
Thanks for the help.