• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Solved] Floating Text

Status
Not open for further replies.
Level 17
Joined
Mar 21, 2011
Messages
1,611
Hi
IMPORTANT: im using bribe's unit indexer, and about the Event, it starts via another trigger
in the initialization group is a single hero for each player

  • Event4 Init
    • Events
    • Conditions
    • Actions
      • Unit Group - Pick every unit in Initialization_Group and do (Actions)
        • Schleifen - Aktionen
          • Set Event_Unit = (Picked unit)
          • Set Event_Index = (Custom value of Event_Unit)
          • Unit - Set Event_Unit movement speed to 0.00
          • Player - Aktivieren Donate Money for (Owner of Event_Unit)
          • Player - Aktivieren Take Money for (Owner of Event_Unit)
          • Set Event_MoneyTotal[Event_Index] = 50
          • Set Event_MoneySpend[Event_Index] = 0
          • Set Event_Money[Event_Index] = Event_MoneyTotal[Event_Index]
          • Floating Text - Create floating text that reads ((|cffffcc00 + (String(Event_MoneyTotal[Event_Index]))) + |rtotal money) above Dummy_Gambler 0062 <gen> with Z offset 135.00, using font size 9.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
          • Set Event_TextMoneyTotal[Event_Index] = (Last created floating text)
          • Floating Text - Hide Event_TextMoneyTotal[Event_Index] for (All players matching ((Matching player) unequal (Owner of Event_Unit)))
          • Floating Text - Create floating text that reads ((|cffffcc00 + (String(Event_Money[Event_Index]))) + |rmoney available) above Dummy_Gambler 0062 <gen> with Z offset 85.00, using font size 9.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
          • Set Event_TextMoney[Event_Index] = (Last created floating text)
          • Floating Text - Hide Event_TextMoney[Event_Index] for (All players matching ((Matching player) unequal (Owner of Event_Unit)))
          • Floating Text - Create floating text that reads ((|cffffcc00 + (String(Event_MoneySpend[Event_Index]))) + |rmoney spend this round) above Dummy_Gambler 0062 <gen> with Z offset 35.00, using font size 9.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
          • Set Event_TextMoneySpend[Event_Index] = (Last created floating text)
          • Floating Text - Hide Event_TextMoneySpend[Event_Index] for (All players matching ((Matching player) Ungleich (Owner of Event_Unit)))
i tried it out ingame and each floating text was visible for each player, but i want only that each player is seeing his own floating text
 
Last edited by a moderator:
Status
Not open for further replies.
Top