View Single Post
07/27/14, 05:51 PM   #5
Garkin
 
Garkin's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 832
Originally Posted by Aetheron View Post
I can't figure out how to detect when it's possible to interact with another player (i.e. the "Press V to interact" is shown).
If you really just want to know if player to player prompt is visible:
Lua Code:
  1. PLAYER_TO_PLAYER:IsHidden()

Originally Posted by Aetheron View Post
Hmmm, I tried both of these and they do the same thing as the code I've tried - they trigger when the reticle is aimed at a player regardless of how far away the player is. I need some way to know when the interaction menu is available. Btw, how did you know about the PLAYER_TO_PLAYER table? Google doesn't have much to say about that.

Thanks!
You can find it for example using the Zgoo - data inspection tool.
Or if you have extracted EsoUI files, you can find it in EsoUI\Ingame\PlayerToPlayer\PlayerToPlayer.lua.
  Reply With Quote