• 🏆 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!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Centering floating text: would it cause desync/bugs between clients with different languages ?

Hello,

If I offset the position of a Floating Text according to the string length, would it cause desync between clients with different langages ?

  • Trigger
    • Events
    • Conditions
    • Actions
      • Custom script: local location udg_LocalTempPoint1
      • Set VariableSet LocalTempPoint1 = (LocalTempPoint offset by ((-7.50 x (Real((Length of (Name of (Last created unit)))))), -50.00))
      • Floating Text - Create floating text that reads (Name of (Last created unit)) at LocalTempPoint1 with Z offset 0.00, using font size 8.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
      • Floating Text - Change (Last created floating text): Enable permanence
      • Custom script: call RemoveLocation(udg_LocalTempPoint1)
      • Custom script: set udg_LocalTempPoint1 = null
 
Top