Zorkaz Posted January 9, 2023 Posted January 9, 2023 Is there a keyword for containers that won't allow NPCs to take stuff out of a container?
DieFeM Posted January 9, 2023 Posted January 9, 2023 No AI Acquire: AI will not attempt to pick up containers or objects marked with this flag.Reference - GECK (geckwiki.com)
LarannKiar Posted January 10, 2023 Posted January 10, 2023 (edited) Also, you can add a "dummy", invisible Quest Object flagged (Reference Alias/Reference Collection Alias data) item to the container. Removing the reference from either the RefAlias/RefColl or the container "re-enables" AI Acquire. Forgot to mention: ObjectReference script function IsQuestItem() exists but SetQuestItem() or HasQuestItem() are unfortunately not. Maybe filling the container itself into the RefAlias/RefColl works too. Edited January 10, 2023 by LarannKiar
SKKmods Posted January 10, 2023 Posted January 10, 2023 Be aware that no ai aquire is not fullproof on all containers. When investigating options to disable settlers taking weaps/ammo from workSHOPS during combat I tried this setting whilst monitoring OnActivate and logged them still taking stuff.
Recommended Posts