• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

[Trigger] Set the text Language of a Map?

Status
Not open for further replies.
Level 5
Joined
Jul 16, 2017
Messages
65
Basically, I have a map that uses this hotkey system that's based off strings.

2021.01.14-20.01.png 2021.01.14-20.02_01.png 2021.01.14-20.02_02.png 2021.01.14-19.59.png

And after testing multiple times I've discovered that the map desyncs for players that use a non-english text version of the game. (my triggers check ability names and compares them)

And I'm sure that's what causes it because I ask them which language they play with every time.
So is there a way to make my map English text ONLY?
 
Level 19
Joined
Jan 3, 2022
Messages
320
my triggers check ability names and compares them
I do not know if you need this still because you haven't replied, but basically you're doing it wrong. I don't know what functions are available to you in GUI triggers, but Warcraft provides different names with different functions:
  • full localized name (every player's language, obviously desyncs)
  • unlocalized name (all lower letters)
  • (rawcode aka FourCC aka 4-letter unique object type ID)
You must use the second or the third to avoid desyncs.
 
Status
Not open for further replies.
Top