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

[Trigger] Multiboard lovin

Status
Not open for further replies.
Level 7
Joined
Dec 8, 2005
Messages
319
ok so my multi board works fine as far as every new unit that is added to the game. the multiboard adds the correct number of units. yet if a tower kills one of player 9 units, it adds one unit to player 10 side and vise versa. the multi board will add that 1 dead unit to player 10 yet it does not subtract the 1 unit from player 9

example:
player 9 has 20 units
player 10 has 20 units

multiboard says:
player 9 = 20 units
player 10 = 20 units

I kill 1 of player 9 units

multiboard says:
player 9 = 20 units
player 10 = 21 units

although player 9 only has 19 units... any ideas? this is my trigger
  • trigger update
    • Events
      • Time - Every 1.00 seconds of game time
    • Conditions
    • Actions
      • Multiboard - Set the text for Multiboard item in column 2, row 2 to (String((Number of units in (Units in (Playable map area) owned by Player 9 (Gray)))))
      • Multiboard - Set the text for Multiboard item in column 2, row 1 to (String((Number of units in (Units in (Playable map area) owned by Player 10 (Light Blue)))))
 
Level 7
Joined
Dec 8, 2005
Messages
319
I swear, the second I make the post... I finally see the thing I was over looking... wow feel dumb now... but for who ever this might help this is the trigger you need to keep count
  • trigger update
    • Events
      • Time - Every 1.00 seconds of game time
    • Conditions
    • Actions
      • Multiboard - Set the text for Multiboard item in column 2, row 2 to (String((Number of living Sea Giant units owned by Player 9 (Gray))))
      • Multiboard - Set the text for Multiboard item in column 2, row 1 to (String((Number of living Sea Giant units owned by Player 10 (Light Blue))))
 
Status
Not open for further replies.
Top