Have actor follow another

Post » Tue Jun 19, 2012 9:48 am

Hi Guys,
Is there a quick way I can have an actor simply follow a target until otherwise told to stop.
I'm hoping to set this via a script as a result of an event happening.

The actor in this scenario will be random in an area, so not predefined.

Thanks
User avatar
Liii BLATES
 
Posts: 3423
Joined: Tue Aug 22, 2006 10:41 am

Post » Mon Jun 18, 2012 7:40 pm

You could look at the AI package stack of the guy who follows Mjoll around when she's not following the player.
User avatar
Kayleigh Williams
 
Posts: 3397
Joined: Wed Aug 23, 2006 10:41 am

Post » Tue Jun 19, 2012 9:56 am

Thanks Sirtaj,
Is it possible to start an AI package via script? I've also tried KeepOffsetFromActor however that was just a weird result...

I think creating an AI package would work well providing I could assign it to a random NPC and kick it off via script.

Thanks for the reply
User avatar
Kari Depp
 
Posts: 3427
Joined: Wed Aug 23, 2006 3:19 pm

Post » Tue Jun 19, 2012 7:02 am

If you're dealing with a unique actor or just a small number, the easiest way is to create a quest and attach the actor to a quest alias. This way you can override the AI package through the alias without touching the actor's base package stack.
User avatar
james kite
 
Posts: 3460
Joined: Sun Jul 22, 2007 8:52 am


Return to V - Skyrim