Item Restrict

Sefiraat

New Member
Reaction score
15
If its for EVERY hero change the value of the ability Inventory (Hero)

Abilities/Special/Inventory (Hero)

Data - Item Capacity - 6 (Change 6 to 1)
 

saio

New Member
Reaction score
0
If its for EVERY hero change the value of the ability Inventory (Hero)

Abilities/Special/Inventory (Hero)

Data - Item Capacity - 6 (Change 6 to 1)
not the inventar to be 1 item
THE ITEM TO BE ONLY 1 THE hero CAN'T PICK THAT ITE 2 TIMES
 

Sefiraat

New Member
Reaction score
15
Oh 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?
 

saio

New Member
Reaction score
0
Oh 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?
can you save the triger on emty map I can't configurate it
plssssss
 

AceHart

Your Friendly Neighborhood Admin
Reaction score
1,495
> 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
 

saio

New Member
Reaction score
0
> 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

lol man can you save it on map too I am too stupid to do it :banghead:
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      • Ghan
        Administrator - Servers are fun

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top