I know how to check and see if an actor has a particular item equipped - I'm trying to do the inverse, sort of.
I need to check and see if an item is equipped to any actor or not. This is because I'm using Yanfly's Attachable Augments plugin and running an augment attach eval that should only run if the item it's being attached to is already equipped on someone, and not if it's just sitting in the inventory. Something like:
I know that "item" in this case does refer to the target item that's being augmented. I just have no idea how to check if item is equipped. It can't as as easy as item.isEquipped() can it? Haha
EDIT: The code within the if...else statement does different things based on which actor is using the item, just fyi.
I need to check and see if an item is equipped to any actor or not. This is because I'm using Yanfly's Attachable Augments plugin and running an augment attach eval that should only run if the item it's being attached to is already equipped on someone, and not if it's just sitting in the inventory. Something like:
Code:
<Augment Attach Eval>
if (<item is equipped to anyone>), {
a whole whack of code
} else {
}
</Augment Attach Eval>
I know that "item" in this case does refer to the target item that's being augmented. I just have no idea how to check if item is equipped. It can't as as easy as item.isEquipped() can it? Haha
EDIT: The code within the if...else statement does different things based on which actor is using the item, just fyi.