Please or Register to create posts and topics.

Portal 2 SDK look output?

PreviousPage 2 of 2

Oh, that's awesome, I'm going to tie a trigger_look to some gel and see how it works.

Portal 1.5 http://www.moddb.com/mods/portal-15

Okay, so I tied it to 2 different sprayers, and this is what happened.

2011-05-12_00001.jpg

First of all, when I look at the blue, it turns on, all good.

2011-05-12_00002.jpg

But when I look over to the orange, they both stay on.

2011-05-12_00003.jpg

You have to exit the brush and come in facing the one you want to activate whenever you want to change which one is activated. Help?

Portal 1.5 http://www.moddb.com/mods/portal-15

Did you add any outputs on stoping the gel flow when you stop looking at it?

That's the problem, I can't. The only output I can fire after activating the trigger_look is leaving the trigger area entirely.

Portal 1.5 http://www.moddb.com/mods/portal-15

In each trigger_look, send a "disable" output to the other colour gel.
i.e, if you look at the blue, blue turns on. When you then look at the orange, it first sends an outpu to the sprayer to stop the blue gel, then starts the orange.

You should send the "Disable" Output with the trigger_look's "OnEndTouchAll". That would be the best solution here.

[Important Threads] Forum Rules | Welcome to the new Thinking With Portals
Please do not Private Message me for assistance. Post a thread if you have questions or concerns.
If you need to contact the staff privately, contact the Global Moderators via Discord.
PreviousPage 2 of 2