9zAZO Posted July 20, 2021 Share Posted July 20, 2021 (edited) So, I'm trying to create AI packages for a mod I'm currently working on, but there are strange side effects that I cannot fix, weirdly enough.First one is that, after assigning ownership of a cell to a faction with two NPCs, the entire place has become fully inaccessible for me without trespassing, when instead I would like to have it be like that only for certain times of the day.How does it work? Is it easily fixable?Second one it's more of a help request: I would like these npcs to reach an adjacent cell and doing a specific action, aka reading and writing a book. How do I do something like this? Is ''Use item at'' enough to make them do such a specific action?Thanks in advance. Edited July 20, 2021 by 9zAZO Link to comment Share on other sites More sharing options...
Oblivionaddicted Posted July 21, 2021 Share Posted July 21, 2021 You can probably fix your first problem if you set the cell as public. Link to comment Share on other sites More sharing options...
9zAZO Posted July 21, 2021 Author Share Posted July 21, 2021 Aight, it does work right nowThanks for the help ;) Link to comment Share on other sites More sharing options...
Striker879 Posted July 21, 2021 Share Posted July 21, 2021 On the second issue you would Use item, assign either a specific book they have in their inventory or just the non-specific Book (though they will problably still need a book in their inventory ... never toyed around with the non-specific angle myself). If you just have the packge direct them to another cell they will just enter the cell and stand there reading. I prefer to assign a particular chair, which means it will need to be a Persistent Refernece. To stop them from teleporting to the chair put the distance to zero and they'll walk to it and sit down. Link to comment Share on other sites More sharing options...
9zAZO Posted July 21, 2021 Author Share Posted July 21, 2021 On the second issue you would Use item, assign either a specific book they have in their inventory or just the non-specific Book (though they will problably still need a book in their inventory ... never toyed around with the non-specific angle myself). If you just have the packge direct them to another cell they will just enter the cell and stand there reading. I prefer to assign a particular chair, which means it will need to be a Persistent Refernece. To stop them from teleporting to the chair put the distance to zero and they'll walk to it and sit down.I managed to do this as well and it works perfectlyThanks ;) Link to comment Share on other sites More sharing options...
mixxa77 Posted July 21, 2021 Share Posted July 21, 2021 (edited) It is worth noting that setting a cell as public makes it always allowed to be accessed by the player and all NPCs. It will also allow you to use their beds, if I remember correclty, unless the bed reference is specifically set as owned as well in it's ownership tab. A reference for how it would be done "correctly" are, for example, shopkeepers. Their offer services package makes use of the "lock" and "unlock doors" flags. When an NPC locks a door at the start of the package for example, then the load door in the same cell as the NPC (ownership of door and NPC/faction needs to fit) at the time of the package starting will be locked and entering will be considered trespassing (The door needs to have a lock level set in it's settings, otherwise the door does not know at which level to lock itself when called). Unlocking does the reverse, it unlocks the door and allows legal entrance for the player and NPCs. Edited July 21, 2021 by mixxa77 Link to comment Share on other sites More sharing options...
Recommended Posts