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

Status
Not open for further replies.
Level 4
Joined
Jun 12, 2009
Messages
57
I have a problem with my multiboard. The problem is that whenever someone picks up a specific item I want the amount of the items that they have picked up to show up. I tried my best to do this but here is what happens. If I pick up an item it will show 1. Then if i pick up another of the same item it will go to 11, instead of 2. Help please. Here is the trigger. Thanks for all help and +rep to contributors

  • Events
    • Unit - A unit owned by Player 1 (Red) Acquires an item
  • Conditions
    • (Item-type of (Item being manipulated)) Equal to Vacoule
  • Actions
    • Item - Remove (Item being manipulated)
    • Set Vacouleinterger = (Vacouleinterger + 1)
    • For each (Integer A) from 2 to 2, do (Actions)
      • Loop - Actions
        • Multiboard - Set the text for (Last created multiboard) item in column 2, row (Integer A) to (Vacouleinterger + BlankValue)
 
Status
Not open for further replies.
Top