Party members with server name?
Hello,
Is there a way to retreive party members' name with realm name (something like "Leroy-KirinTor")? API GetHomePartyInfo() only returns names. Thanks. |
|
OK, so if I well understand, the only way is to loop on GetHomePartyInfo() result?
I can't check right now but what happen if, let's say, "Leroy" from Kirin Tor, and "Leroy" from Aggramar are in the same party? |
A general idea.
Code:
local unit = "player" |
If you want the normalized name for your realm (used for whisper targets), you can use GetNormalizedRealmName(). Normalized realm names generally have spaces removed. I don't know if special characters like hyphens and apostrophes are removed as well.
|
Thank you for your answers :)
I finally use: name, realm = UnitFullName(unit), in order to have the "condensed" form of server name, without space. |
All times are GMT -6. The time now is 06:56 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI