jamochawoke Posted September 21, 2011 Share Posted September 21, 2011 Is there a script command to check if an NPC is in a particular cell? And does setting an NPC to UseItem at a particular location then specifying broom trigger the sweeping animation like specifying mortarandpestle triggers the alchemy brewing animation? Thanks :) Link to comment Share on other sites More sharing options...
jamochawoke Posted September 21, 2011 Author Share Posted September 21, 2011 Well the broom definitely works... I had been setting it wrong somehow. I'd still like to know if the script command exists for checking if an NPC is in a particular cell though. Link to comment Share on other sites More sharing options...
fg109 Posted September 21, 2011 Share Posted September 21, 2011 Use GetParentCell (OBSE command) to figure out the current cell of an NPC/creature/object. Link to comment Share on other sites More sharing options...
jamochawoke Posted September 22, 2011 Author Share Posted September 22, 2011 Any non-OBSE script command? Been trying to keep this mod as noob friendly as possible. Link to comment Share on other sites More sharing options...
fg109 Posted September 22, 2011 Share Posted September 22, 2011 You can also use GetInCell (requires you to provide a cell ID). I just prefer GetParentCell (doesn't require you to provide a cell ID). Link to comment Share on other sites More sharing options...
jamochawoke Posted September 22, 2011 Author Share Posted September 22, 2011 Thanks bud! You have been such a great font of information for me on this project hah! I don't have ny problems providing a cell ID. I just have an NPC I've created with multiple AI packages for different scenarios depending on where they are in the gameworld. I can easily get the cell IDs for where they are at during their quest and modify their AI using conditions. Now I'm back on track ;) Link to comment Share on other sites More sharing options...
Recommended Posts