azerothcore / mod-eluna

Eluna Lua Engine © for WoW Emulators
https://elunaluaengine.github.io/
GNU General Public License v3.0
101 stars 131 forks source link

How can creature get the local name? #154

Closed icaca closed 1 year ago

icaca commented 1 year ago

creature:GetName() returns the name of the creation_template table, not the locale table

55Honey commented 1 year ago

Do you want the name of the creature for the client's locale or for the server's locale?

icaca commented 1 year ago

server's locale Something similar to Item:GetItemLink.

55Honey commented 1 year ago

I'm not aware of a way to do that currently. My recommendation is to reach out on discord for such questions.