Force permanent AI changes via script

Post » Tue Jun 19, 2012 2:47 am

In Oblivion I was able to add script packages with a “must complete” to force creatures to be friendly to the player and follow them. Problem was, they would switch back to their default packages seemingly at random.

I could script the equivalent of an “event” which would check if they were doing certain things and playing certain AI and set them back, but sometimes they would just get stuck and switch back and forth constantly.

So I am presently researching, whether there is a way in Papyrus and the new CK to permanently change a reference’s AI. If it means creating a new spawn from their base that is fine, so long as the changes effect only the active reference and not all references to that base.
User avatar
Janeth Valenzuela Castelo
 
Posts: 3411
Joined: Wed Jun 21, 2006 3:03 am

Post » Tue Jun 19, 2012 9:29 am

You can make a quest with a reference alias (which is like a role that an actor can play). Set the criteria for filling the alias to match the kind of actor you want or if you'd like you can tell the CK exactly what actor you want to fill it by name. There's a place on the quest alias panel where you can give the alias an ai package to play, and that package is supposed to take priority over most others. In experience though I'm finding it working inconsistently.

Does that make sense to you?
User avatar
Natasha Callaghan
 
Posts: 3523
Joined: Sat Dec 09, 2006 7:44 pm


Return to V - Skyrim