Author Topic: Input Event - OnPlayerSee  (Read 684 times)

I would like an event that goes off when someone focuses on the brick.
Like Onplayersee>client>centerprint>"You're looking at the brick."
I'm pretty sure this is possible, considering the GlowBrick addon was made.

It's possible, but would requiring raycasts to be scheduled for each player.

So, could someone make it?

I would think that would be laggy and abusive.


Because the script to check for it would run in the background doing tons of maths.

I would think that would be laggy and abusive.


Heh heh, Onplayerlook --> Player --> Kill

Warning - while you were typing a new reply has been posted. You may wish to review your post.

Fuuuu-


Heh heh, Onplayerlook --> Player --> Kill

Warning - while you were typing a new reply has been posted. You may wish to review your post.

Fuuuu-
ABUSE!

It is because the point of the input events is to have a specific action trigger the following.  If no actual action is being performed, such as just looking at the brick, it is not input.  The server would need to constantly check each client to see if they are looking at a brick that has an OnPlayerSee input event.

Oh I see. That makes sense.