ESOUI

ESOUI (https://www.esoui.com/forums/index.php)
-   General Authoring Discussion (https://www.esoui.com/forums/forumdisplay.php?f=174)
-   -   target of my target question (https://www.esoui.com/forums/showthread.php?t=7110)

vvarderen 06/06/17 02:42 PM

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?

Letho 06/07/17 05:17 AM

Appareantly only "player" is a valid argument for GetUnitName()
Source: http://wiki.esoui.com/GetUnitName

Ayantir 06/07/17 06:45 AM

#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.

vvarderen 06/07/17 07:32 AM

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.

Letho 06/09/17 04:27 AM

Quote:

"ALMSIVI"
No.

(Sorry for spam :D)


All times are GMT -6. The time now is 04:01 PM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI