Detecting Items

S

spacesnake

Guest
The condition for a hero currently having possession of an item requires you to specify the slot.

How do you make a condition allowing it to be met if the item is carried in ANY slot, without having to make 6 conditions under an 'Or' function?

p.s: sorry, I know I just created a thread earlier, but this problem just came up now and the rules say not to multi-question after initial posting.
 

Trithilon-V2

New Member
Reaction score
20
Use a loop :-

For Each integer 1 to 6 do actions :
if - Item carried by (Triggering Unit) in slot (Integer A) is of type ("Your item")
then do -
else do ---
 

Azlier

Old World Ghost
Reaction score
461
Boolean- Hero has item (type). No loops, no fancy conditions. They're two separate booleans, by the way. I don't want to befuddle anyone. It simply checks if the Hero is in possession of the specified item or item type.
 
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