Instructions/Get Equipped Num

From Desynced Wiki
Revision as of 09:42, 1 August 2025 by Kelno (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


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