Thread Tools Display Modes
06/06/17, 02:42 PM   #1
vvarderen
 
vvarderen's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 20
target of my target question

hi, i have a problem : i don't see the target of my target with my code.


Lua Code:
  1. local nameText = GetUnitName("reticleover") -- local for identify add name
  2. local targetednameText = GetUnitName("reticleovertarget") -- local for identify target name of target
  3. d(nameText.." cible "..targetednameText)

in chat i see "Mobs cible " only. Not me or other thing like "Mobs cible Me".

reticleovertarget is functional?
  Reply With Quote
06/07/17, 05:17 AM   #2
Letho
AddOn Author - Click to view addons
Join Date: Apr 2016
Posts: 238
Appareantly only "player" is a valid argument for GetUnitName()
Source: http://wiki.esoui.com/GetUnitName
  Reply With Quote
06/07/17, 06:45 AM   #3
Ayantir
 
Ayantir's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2014
Posts: 1,019
#fakenews and so how api tells you the unit name of targeted mob or interaction?..


But I do agree that GetUnitName() with arg reticleovertarget is maybe blocked. Don't really remember.
  Reply With Quote
06/07/17, 07:32 AM   #4
vvarderen
 
vvarderen's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 20
In any case, this is similar, since all my attempts do not end with "reticleovertarget" , which returns absolutely no value to me. Whereas with "player" and "reticleover", the values ​​are correctly returned.
  Reply With Quote
06/09/17, 04:27 AM   #5
Letho
AddOn Author - Click to view addons
Join Date: Apr 2016
Posts: 238
"ALMSIVI"
No.

(Sorry for spam )
  Reply With Quote

ESOUI » Developer Discussions » General Authoring Discussion » target of my target question

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off