Instructions/Get Equipped Num

From Desynced Wiki


Get Equipped Num
     File:Instructions-Get Equipped Num.png
     Returns how many of a component are equipped
Lua ID get_equipped_num
Category Math
Icon Compare Values.png
Argument One: Type Input
Argument One: Name Component ID
Argument One: Description Component to search for
Argument One: Data Type comp_num
Argument Two: Type Output
Argument Two: Name Value
Argument Three: Type Input
Argument Three: Name Unit
Argument Three: Description The unit to check (if not self)
Argument Three: Data Type entity