I've tried;
"wobjectfindininventorybyname[+getvar[Loot]]>=1" as an expression
"+getvar[Loot]" as an inventory item count
as well as variations with and without the plus sign, adding in a backslash, and can't get any of them to play nice. Any thoughts?
Check inventory count using variable?
Looks like I can use;
isfalse[wobjectfindininventorybyname[getvar[Loot]]]
Item in inventory returns a 0, Item on ground returns a 1.
What's weird is istrue returned 0's either way. *shrug*
isfalse[wobjectfindininventorybyname[getvar[Loot]]]
Item in inventory returns a 0, Item on ground returns a 1.
What's weird is istrue returned 0's either way. *shrug*