Item-Class trigger help

ryerye1996

Cool Member
Reaction score
5
any idea why this trigger only works once. as in that it only drops the item the first time i pick it up but the 2nd time i pick it up, it doesnt drop the item.

Item Class Drop
Events
Unit - A unit Acquires an item
Conditions
(Item-class of (Item being manipulated)) Equal to Permanent
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Item-class of (Item carried by (Triggering unit) of type (Random level -1 Permanent item-type))) Equal to Permanent
Then - Actions
Hero - Drop (Item being manipulated) from (Triggering unit)
Else - Actions
Do Nothing
 

ajzdfd

New Member
Reaction score
5
im not sure but isnt the condition in the "if,then,else" statement pointless because it is already ensured that the item would be permanent in the original conditions
 

LordXavier

TH.net Regular
Reaction score
16
im not sure but isnt the condition in the "if,then,else" statement pointless because it is already ensured that the item would be permanent in the original conditions

I agree, plus if you put the random level it might not work every time.
you may want to make your trigger like this
Trigger:
  • Item Class Drop
    • Events
      • Unit - A unit Acquires an item
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Item-class of (Item being manipulated)) Equal to Permanent
        • Then - Actions
        • Else - Actions
          • Do Nothing
 
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