Sui-cookie
You can change this now in User CP.
- Reaction score
- 49
hey can you guys spot anything wrong with this trigger? its suppose to allow only one powerup item, but when you dont have one at all it makes you drop it, then the second time you try to pick it up it works, but then wont allow other class items
...or powerup items....
Trigger:
- Untitled Trigger 001 Copy
- Events
- Unit - A unit Acquires an item
- Conditions
- Actions
- For each (Integer A) from 1 to Maximum number of inventory slots (6), do (Actions)
- Loop - Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- (Item-class of (Item carried by (Triggering unit) in slot (Integer A))) Equal to Powerup
- Then - Actions
- Set tempinteger = (tempinteger + 1)
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Loop - Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- tempinteger Greater than or equal to 2
- Then - Actions
- Set tempinteger = 0
- Hero - Drop (Item being manipulated) from (Triggering unit)
- Game - Display to (All players matching ((Matching player) Equal to (Owner of (Triggering unit)))) the text: You are already wei...
- Else - Actions
- If - Conditions
- For each (Integer A) from 1 to Maximum number of inventory slots (6), do (Actions)
- Events