zymurgy65 Posted March 14 Share Posted March 14 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 More sharing options...
LenaWolfBravil Posted March 14 Share Posted March 14 Which game is this for? Link to comment Share on other sites More sharing options...
RomanR Posted March 15 Share Posted March 15 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 More sharing options...
LenaWolfBravil Posted March 15 Share Posted March 15 (edited) For Oblivion, I would personally use the "OnPackageStart" block in the script attached to the NPC in question. You can specify the exact package with that block. See Wiki here. There's also "OnPackageEnd" block where you can re-equip those items again. Edited March 15 by LenaWolfBravil Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now