Blockland Forums > Suggestions & Requests
onPlayerGaze or onMinigamePlayerGaze
(1/3) > >>
-Blok-:
I was wondering if it were possible to create the event OnPlayerGaze. Basically, when you have a brick running the events:
onPlayerGaze -> Self -> RetroCheck -> ifPlayerID == [5821]
onVariableTrue -> Client -> Bottomprint [This is Blok]
it would say "This is Blok" in bottomprint when looking at me.

I know there are the minigame events where when you kill a player it triggers an event (onMinigameKill). So why can't looking at a player trigger an event? Maybe there can be a onMinigamePlayerGaze?

There is a gaze event for looking at bricks. So why not players? Is this possible?
Jake White:
I'm not sure that's possible, because the only reason 'OnGaze' works is because you're looking at the brick that has the events. Since players are entities that you can't program using events, I doubt it would be possible, or at least really loving difficult.
Demian:
Get the fire relay on look from RTB or the onGaze/Look/Stare/Glare/Whatever from the add-ons subforum.
-Blok-:

--- Quote from: Demian on August 07, 2012, 03:20:00 PM ---Get the fire relay on look from RTB or the onGaze/Look/Stare/Glare/Whatever from the add-ons subforum.

--- End quote ---
This?
http://forum.blockland.us/index.php?topic=192070.0
Demian:

--- Quote from: -Blok- on August 07, 2012, 04:15:48 PM ---This?
http://forum.blockland.us/index.php?topic=192070.0

--- End quote ---
Yes, or this: http://forum.returntoblockland.com/dlm/viewFile.php?id=815
Navigation
Message Index
Next page

Go to full version