Is there a way to detect if the inventory of a unit is empty?

As far as I can tell, the script menu doesn’t have a condition to detect anything like that.

1 Like

you can detect if the inventory is empty if all items have a variable [is item?]=true or false]
if every second you have a script that looks for items that have that variable as true in inventory if there is none set variable [inventory empty] of the unit as true if not as false
then you can use this as if variable of unit is true or somthing