not the inventar to be 1 itemIf its for EVERY hero change the value of the ability Inventory (Hero)
Abilities/Special/Inventory (Hero)
Data - Item Capacity - 6 (Change 6 to 1)
Untitled Trigger 001
Events
Unit - A unit Acquires an item
Conditions
((Hero manipulating item) has an item of type (Item-type of (Item being manipulated))) Equal to True
Actions
Item - Remove (Item being manipulated)
can you save the triger on emty map I can't configurate itOh trigger =
Code:Untitled Trigger 001 Events Unit - A unit Acquires an item Conditions ((Hero manipulating item) has an item of type (Item-type of (Item being manipulated))) Equal to True Actions Item - Remove (Item being manipulated)
Is this what you meant?
k 10x a lot for helping manlol Well, give me a few mins ok?
Events
Unit - A unit Acquires an item
Conditions
Or - Any (Conditions) are true
Conditions
(Item-type of (Item being manipulated)) Equal to Cheese
(Item-type of (Item being manipulated)) Equal to Blood Key
(Item-type of (Item being manipulated)) Equal to Gem Fragment
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 carried by (Hero manipulating item) in slot (Integer A))) Equal to (Item-type of (Item being manipulated))
(Item carried by (Hero manipulating item) in slot (Integer A)) Not equal to (Item being manipulated)
Then - Actions
Hero - Drop the item from slot (Integer A) of (Hero manipulating item)
Quest - Display to (Player group((Owner of (Hero manipulating item)))) the Warning message: This item only once...
Else - Actions
yes but how can I restrict the items I wan't ?This is what you want
> Is this what you meant?
Certainly not, no.
That trigger will drop any item.
> (Hero manipulating item) has an item of type (Item-type of (Item being manipulated))) Equal to True
This checks if the unit that just now got the item did get the item it just got.
Can't fail...
Code:Events Unit - A unit Acquires an item Conditions Or - Any (Conditions) are true Conditions (Item-type of (Item being manipulated)) Equal to Cheese (Item-type of (Item being manipulated)) Equal to Blood Key (Item-type of (Item being manipulated)) Equal to Gem Fragment 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 carried by (Hero manipulating item) in slot (Integer A))) Equal to (Item-type of (Item being manipulated)) (Item carried by (Hero manipulating item) in slot (Integer A)) Not equal to (Item being manipulated) Then - Actions Hero - Drop the item from slot (Integer A) of (Hero manipulating item) Quest - Display to (Player group((Owner of (Hero manipulating item)))) the Warning message: This item only once... Else - Actions
10x man <3http://www.thehelper.net/forums/showthread.php?t=57747
There's a demo map attached to that post.
Look for a trigger called "ItemOnce".