• 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.

Advanced GUI Editor

Status
Not open for further replies.
Level 8
Joined
Sep 9, 2007
Messages
114
I am looking for someone with advanced GUI knowledge that knows alot about Variables and Multiboard instances.
If someone is willing to help just let me know and i'll send u the unprotected map so that u may fix my issue and send it back.

I'm having issues setting a Multiboard to increase by 2x(Level of Every unit in Unit Group)

Each time Player Red Trains a unit.
It will add that unit to a unit group

Every .5 seconds my multiboard... and calculate every hero that belongs to my unit group and add together their level... then multiply that number by 2.

If you "think" You could be of any assistance or have any questions just ask me.
 
Level 9
Joined
Jul 20, 2005
Messages
414
This trigger updates the multiboard every second.
  • Update
    • Events
      • Time - Every 1.00 seconds of game time
    • Conditions
    • Actions
      • Multiboard - Set the text for (Last created multiboard) item in column 1, row 1 to (String((Integer x 2)))
This trigger will update the certain integer when a unit is trained or killed.
  • Add
    • Events
      • Unit - A unit Dies
      • Unit - A unit Finishes training a unit
    • Conditions
    • Actions
      • Wait 0.01 seconds
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • Or - Any (Conditions) are true
            • Conditions
              • ((Trained unit) is alive) Equal to True
              • ((Triggering unit) is alive) Equal to True
        • Then - Actions
          • Set Integer = (Integer + (Level of (Trained unit)))
        • Else - Actions
          • Set Integer = (Integer - (Level of (Triggering unit)))
 
Level 29
Joined
Jul 29, 2007
Messages
5,174
This trigger will update the certain integer when a unit is trained or killed.
  • Add
    • Events
      • Unit - A unit Dies
      • Unit - A unit Finishes training a unit
    • Conditions
    • Actions
      • Wait 0.01 seconds
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • Or - Any (Conditions) are true
            • Conditions
              • ((Trained unit) is alive) Equal to True
              • ((Triggering unit) is alive) Equal to True
        • Then - Actions
          • Set Integer = (Integer + (Level of (Trained unit)))
        • Else - Actions
          • Set Integer = (Integer - (Level of (Triggering unit)))

Why do you ALWAYS use those idiotic waits for no reason ?
 
Status
Not open for further replies.
Top