item trigger

kiogra

New Member
Reaction score
2
hi, i need some help with something like this

E: (Unit) has 6 of (Item)
C: Unit is Hero: Equal to True
A: Turn on (00) Trigger

I cant find anything like that... is it possible?
 

vypur85

Hibernate
Reaction score
803
Something like this?:

Code:
Untitled Trigger 002
    Events
        Unit - A unit Acquires an item
    Conditions
    Actions
        Set INTEGER_VARIABLE = 0
        Set INTEGER_VARIABLE = (INTEGER_VARIABLE + 1)
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                INTEGER_VARIABLE Equal to 6
            Then - Actions
                Trigger - Turn on (This trigger)
            Else - Actions
 

Squishy

You can change this now in User CP.
Reaction score
127
Something like this:
Code:
Trigger
    Events
        Unit - A unit Acquires an item
    Conditions
        (Item-type of (Item being manipulated)) Equal to Your Item
        (Item-type of (Item carried by (Triggering unit) in slot 1)) Equal to Your Item
        (Item-type of (Item carried by (Triggering unit) in slot 2)) Equal to Your Item
        (Item-type of (Item carried by (Triggering unit) in slot 3)) Equal to Your Item
        (Item-type of (Item carried by (Triggering unit) in slot 4)) Equal to Your Item
        (Item-type of (Item carried by (Triggering unit) in slot 5)) Equal to Your Item
        (Item-type of (Item carried by (Triggering unit) in slot 6)) Equal to Your Item
    Actions
        Your Actions
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top