• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

[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