IsFurnitureInUse is True if actor died before activating it

Post » Sat Feb 07, 2015 8:52 pm

Using AI package "Activate" to make NPC walk to furniture object and activate it.

If the NPC gets killed before reaching the object and finishes the actual activation, IsFurnitureInUse() will keep returning True forever.

I cannot use IsFurnitureInUse(True) in order to avoid some race conditions.

Calling Reset() on the object, or disabling and enabling does not help.

The only thing i found that helps, is if the Player activates the furniture to sit in it, and gets out.

Of course, using player is not a viable option, but maybe using some invisible actor? or other object to activate it with?

...also tried to activate the object by itself, but it had no effect.

User avatar
Jade Payton
 
Posts: 3417
Joined: Mon Sep 11, 2006 1:01 pm

Return to V - Skyrim