nwnxee / unified

Binaries available under the Releases tab on Github
https://nwnxee.github.io/unified
GNU General Public License v3.0
129 stars 92 forks source link

Add Object: {Get|Set}NameByLanguage #1742

Closed julien-lecomte closed 7 months ago

julien-lecomte commented 7 months ago

In my effort to have dual-language module, using SetName will overwrite translations. For this reason, if we set the name for specific languages, and then usually SetName(oObject, ""), the translations will be correct for all players.

Their might be 3 gender values, neutral, male, and female, but experimenting with French made out to have male=0, female=1. Unsure, but I believe German might be a language with three language genders.