hero has item in slot x check

2evil

New Member
Reaction score
16
is there any generic check if a hero has an item in slot x? i just want a broad, condition of an item of any sort being there
 

AceHart

Your Friendly Neighborhood Admin
Reaction score
1,495
Boolean, Hero has item of type.
Works on any slots.

If, for some weird reason, you would like to insist on the item needing to be in a particular slot:
Item-type of (Item carried by <unit> in slot X) equal to <item>

If the particular slot is important, while you don't care for the actual item there:
(Item carried by <unit> in slot X is owned) equal to true
 

Sim

Forum Administrator
Staff member
Reaction score
534
Item comparison - Item carried by Hero
 

DuckieKing

Elitist Through and Through
Reaction score
51
eh heh... lol at all of these responses >_<
Code:
(Item carried by (Triggering unit) in slot 1) Not equal to No item
 

2evil

New Member
Reaction score
16
a little other question to add to this, i used to know, but im very rusty :S

whats the custom to exit a particular loop? per say i want to exit the integer loop [temp_value_2]. do i just set temp_value_2 >max number in loop range?
 
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