• 🏆 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!

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