Please or Register to create posts and topics.

Checking if an object is being looked at

I am trying to use 'trigger look' to determine if an object is being looked at, but it doesn't seem to be working. Any advise on how to determine if an object is being looked at by any player?
Thank You,
Sound Logic

Post a screenshot of your Outputs tab.

[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.

Outputs:
These are the outputs for my trigger_look

My Output Target Entity Target Input
OnTimeOut paint_sprayer Stop
OnTrigger paint_sprayer Start

My look target is set
LookTime is .1
FieldOfView is .9
Timeout is .1

The trigger fills the entire room.

Thank you,
Sound Logic

The trigger_look should use "OnStartTouch" for when it needs to start being looked at, and "OnEndTouchAll" for when it is no longer being looked at.

You really shouldn't have it fill the entire room. You should just have it fill the general area that you want the player to be looking at when it enables the paint sprayer. Unlike a normal trigger brush, the player does not have to physically be in it's volume to activate it.

[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.

OK... That is kind of weird...
Thanks.
Sound Logic

OK, I have changed my inputs and outputs to as follows:

My Output Target Entity Target Input
OnEndTouchAll paint_sprayer Stop
OnStartTouchAll paint_sprayer Start

And have tried it with both a trigger_look and a trigger_multiple
It still doesn't seem to be working.
Thank You,
Sound Logic

The trigger is working, however if either timeout or trigger occurs and I don't exit, the other one won't occur. Is there any way around this?
Thank You,
Sound Logic

EDIT: Also is there a way to get it to work through portals?

Any tips on making the trigger_look not wait for me to leave and reenter? Anyway to reset it whenever it activates?
Thank You,
Sound Logic