- Joined
- Mar 21, 2011
- Messages
- 1,622
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
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)))
-
-
-
-
Last edited by a moderator:
