- Joined
- Nov 7, 2004
- Messages
- 48
I've been working on a Localized Chat System, all's working well except for the floating text trigger, here it is, If you find the problem please tell me.
NOTE: I used UMSWE 4.1 for this.
NOTE: I used UMSWE 4.1 for this.
JASS:
Events
Player - (Local Player) types a chat message containing. as A subtring
Conditions
(Subtring((Entered chat string), 1, 1)) Equal to .
Actions
Custom script: local string udg_playername
Custom script: local unit udg_hero
Floating Text - Create floating text that reads (playername + (: + (Substring((Entered chat string), 2, 999)))) above hero with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency