- Joined
- Feb 27, 2019
- Messages
- 399
Hello,
If I offset the position of a Floating Text according to the string length, would it cause desync between clients with different langages ?
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