Instructions/Count Items

From Desynced Wiki


Count Items
     
     Counts the number of the passed item contained in the unit's inventory
Lua ID count_item
Category Unit
Icon Count Item.png
Argument One: Type Input
Argument One: Name Item
Argument One: Description Item to count
Argument One: Data Type item
Argument Two: Type Output
Argument Two: Name Result
Argument Two: Description Number of this item in inventory or empty if none exist
Argument Three: Type Input
Argument Three: Name Unit
Argument Three: Description The unit to check for (if not self)
Argument Three: Data Type entity



Description[edit | edit source]

Uses[edit | edit source]

Similar Instructions[edit | edit source]