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

item system not working

Status
Not open for further replies.
Level 5
Joined
Apr 11, 2011
Messages
107
its supposed to only allow you to have 1 item of any classification at a time. after i get a 5th type, it seems not to work.

here are 2 of the trigger, the others are in the map, items section.

ive put out items to test, im not sure waht i did wrong..

  • Miscellaneous1
    • Events
      • Unit - A unit owned by Player 1 (Red) Acquires an item
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Item-class of (Item being manipulated)) Equal to Miscellaneous
          • Miscellaneous Equal to True
        • Then - Actions
          • Trigger - Turn off Miscellaneous2 <gen>
          • Item - Move (Item being manipulated) to (Position of (Triggering unit))
          • Wait 0.01 seconds
          • Trigger - Turn on Miscellaneous2 <gen>
        • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Item-class of (Item being manipulated)) Equal to Miscellaneous
              • Miscellaneous Equal to False
            • Then - Actions
              • Set Miscellaneous = True
            • Else - Actions


  • Miscellaneous2
    • Events
      • Unit - A unit owned by Player 1 (Red) Loses an item
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Item-class of (Item being manipulated)) Equal to Miscellaneous
          • Miscellaneous Equal to True
        • Then - Actions
          • Set Miscellaneous = False
          • Wait 0.01 seconds
        • Else - Actions
          • Set Miscellaneous = False
 

Attachments

  • Siege of Lochvale.w3x
    1.1 MB · Views: 49
Status
Not open for further replies.
Top