Jump to content

Getting characters to unequip items


Recommended Posts

Is there a way to have characters unequip items other than armour or weapons while a particular AI package is running? I'm guessing it requires a script, but I'm not very confident when it comes to scripting.

Link to comment
Share on other sites

Guessing from your favourite it's for Oblivion, right? In that case for returning exact AI package you can use OBSE, precisely GetCurrentPackage/GetCurrentEditorPackage. 

In vanilla you can use GetIsCurrentPackage function.

Also it's good to check if your NPC is actually doing the action you want using GetCurrentAIProcedure. Maybe it will be enough using this function alone, if such precission isn't needed.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...