Please or Register to create posts and topics.

[Solved] Event happening when you look at it

Hey, is it possible to let something happen when you look at something?

Like, you look at a wall and it opens? (Won't be a part of the puzzle, just some extras)

Yes:

https://developer.valvesoftware.com/wiki/Trigger_look

Tnx for the tip.

I tried to get it working but it won't...

I make a trigger brush with OnTrigger to open a door. I put as Look Target a turret (prop_dynamic_override) but nothing happens...

1) Did you tie that brush to an entity?
2) You need to be IN the volume of the trigger_look in order for it to function
3) Looking through portals will NOT trigger this.

npc_idiot wrote:
1) Did you tie that brush to an entity?
2) You need to be IN the volume of the trigger_look in order for it to function
3) Looking through portals will NOT trigger this.

It was no. 2. I wasn't in the volume. Tnx for the hint, god it working now.