Have you tried using SetRestrained? It locks NPCs in place (Although they can still be moved by bumping in to them, but at least they themselves won't move...)
No, I had seen that used before and I tried it and maybe I typed it wrong because Oblivion thought it was a short variable so I threw that idea out I'll try it again., thanks! I know what I did, I must have went set restrained to 1 and that is why the editor thought it was a short and not a function. I bet it will work fine after I do that, I'll let you know.
There are many possible different problems with this but as I can't physically see what's wrong, I'm gonna give you a few suggestions.
First: when you create a new creature, they come with their own AI (default) if you haven't done this then simply delete whatever they previously had there and then put what you want in. (often their base AI will override your own)
If that doesn't work or you already did it, then set their energy level and agression level lower. This will prevent them from attacking (again, I haven't seen the context of this mod) whatever they see and going off and killing it or something.
They might ALSO have a script attatched to them which is easy to fix also; just go to script on the NPC box and scroll up until you get to 'NONE'.
The final thing you might want to look at is if they have a class or a combat style that would give them reason to leave and kill something or look for something to kill.
Hope this helped.
I can't remove their packages, the player can cast this spell on anyone in the game, removing all the ai would break the game. aggression isn't the problem, its when their normal packages kick in they take off and go about their business instead of staying in the cage.
I can't remove the scipt from the actor, I don't know what actor will be down there. Its a power that the player can use on anyone to lure them down to the cage and then the cage has a trigger script which is applied to the npc.
Thanks for the ideas, but I am hoping setrestrained will do it.