Trigger which activates when hit with a portal
Quote from Solomon on December 26, 2009, 2:30 pmHow 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.
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.
Quote from WinstonSmith on December 26, 2009, 3:39 pmUse 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.
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.