Event triggered on Player look

Discussion in 'Plugin Development' started by valdark, May 28, 2011.

Thread Status:
Not open for further replies.
  1. Offline

    valdark

    I read previously that this was possible but cannot seem to locate it under Documentation and the search removes "on" and "look" because they are too short.

    Any help on this or on locating plugins using this feature would be greatly appreciated.
     
  2. Offline

    Spitfire21

    I'm pretty sure player move triggers when a player looks around I'm not too sure.
     
  3. Offline

    CypherX

    Spitfire is correct, onPlayerMove is called when a player looks around.
     
  4. Offline

    chronopolis

    And you can use Player.getLineOfSight to get the direction the player is looking.
     
  5. Offline

    valdark

    Thanks for the help gentlemen. .getLineOfSight was the answer I was looking for.
     
Thread Status:
Not open for further replies.

Share This Page