- Untitled Trigger 00.2948
- Events
- Unit - A unit Acquires an item
- Conditions
- 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-type of (Item being manipulated)) Equal to (Item-type of (Item carried by (Triggering unit) in slot (Integer A)))
- Then - Actions
- Hero - Drop (Item being manipulated) from (Triggering unit)
- Skip remaining actions
- Else - Actions
w00t im second ?
Event
Unit Aquires item
Conditions
if Aquired item is equal to Unique item
For Each integer From 1 to 6
..loop actions
......if Item in (integer A) slot of Triggering Unit is equal to Unique item
..........then
............if <a custom boolean value you created> is equal to false
.................then
......................set <same custom boolean value you created> to true
.................else
......................Make Triggering Unit drop the Aquired item
......................set <same custom boolean value you created> to false
..........else
Should work
- Untitled Trigger 00.2948
- Events
- Unit - A unit Acquires an item
- Conditions
- 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-type of (Item being manipulated)) Equal to (Item-type of (Item carried by (Triggering unit) in slot (Integer A)))
- Then - Actions
- Hero - Drop (Item being manipulated) from (Triggering unit)
- Skip remaining actions
- Else - Actions
w00t im second ?
- Untitled Trigger 2947.42
- Events
- Unit - A unit Acquires an item
- Conditions
- someCondition
- 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-type of (Item being manipulated)) Equal to (Item-type of (Item carried by (Triggering unit) in slot (Integer A)))
- (Item carried by (Triggering unit) in slot (Integer A)) Not equal to (Item being manipulated)
- Then - Actions
- Hero - Drop (Item being manipulated) from (Triggering unit)
- Skip remaining actions
- Else - Actions
?Hmm working solutions isnt enough for him
Then try this
Custom script: ExecuteFunc("DropIfItHasOne")
Isn't there someone who like to help?That will crush his game... wouldn't it ? you evil thing
A moderator can help us (by closing the thread)
Use the trigger I gave you... ?
- Untitled Trigger 2947.42
- Events
- Unit - A unit Acquires an item
- Conditions
- someCondition
- 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-type of (Item being manipulated)) Equal to (Item-type of (Item carried by (Triggering unit) in slot (Integer A)))
- (Item carried by (Triggering unit) in slot (Integer A)) Not equal to (Item being manipulated)
- Then - Actions
- Hero - Drop (Item being manipulated) from (Triggering unit)
- Skip remaining actions
- Else - Actions
LoL
(also give credit and +rep to ghostwolf)