Claim Smart Object handle not actually claiming?

Hey all,

Trying to make a system where NPC’s will go find up to three things then bring them to a final spot, but cannot proceed without player input. I haven’t gotten far enough for the player’s input gating the NPC’s, but I have noticed something: The NPC’s are seemingly completely ignoring claims on Smart Objects, I think?

How can I check that a specific Smart Object Slot has been claimed, and better yet, how can I get a notification when it is NO LONGER claimed? Simple print strings would be fine but right now I’m just trying to figure out a way to TEST it.

Like… when is a Slot no longer claimed? How can I have an NPC hold its claim on something and release it when asked but not before?

I believe I was having a similar issue. I was trying to claim a smart object that has a single slot, and it was being claimed by two different NPCs at same time.

What worked for me was, right after calling “MarkSmartObjectSlotAsClaimed” call “MarkSmartObjectSlotAsOccupied”. Don’t forget to call “MarkSmartObjectSlotAsFree”, when the NPC is no longer using the slot.

Hope this was the answer you were looking for.