- Joined
- Mar 30, 2007
- Messages
- 447
So i have this problem. I made this trigger for the map im making.
But every time my hero try's to pick up the item he just drops it instantly, even when his inventory is empty.
Whats wrong with the trigger?
-
Events
- Unit - A unit Acquires an item
-
Actions
-
For each (Integer A) from 1 to 6, do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Item-class of (Item being manipulated)) Equal to (Item-class of (Item carried by (Hero manipulating item) in slot (Integer A)))
-
Then - Actions
- Hero - Drop (Item being manipulated) from (Hero manipulating item)
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Loop - Actions
-
For each (Integer A) from 1 to 6, do (Actions)
But every time my hero try's to pick up the item he just drops it instantly, even when his inventory is empty.
Whats wrong with the trigger?