No scripting functions for AI?

Post » Mon Jun 18, 2012 7:07 pm

Does anyone know of functions to add AI packages? The only way I can find is by adding the package to an alias and then setting that alias to the NPC. But an alias can only point to one NPC at a time, I would like to add a package to a number of NPC's at the same time, any ideas?
User avatar
Isabel Ruiz
 
Posts: 3447
Joined: Sat Nov 04, 2006 4:39 am

Post » Mon Jun 18, 2012 6:57 pm

Does anyone know of functions to add AI packages? The only way I can find is by adding the package to an alias and then setting that alias to the NPC. But an alias can only point to one NPC at a time, I would like to add a package to a number of NPC's at the same time, any ideas?
Yes, copy the alias or at least create multiple with the package you want to add then you have to implement a function to search through for an open one when you want to assign them.
User avatar
Jonny
 
Posts: 3508
Joined: Wed Jul 18, 2007 9:04 am

Post » Tue Jun 19, 2012 8:14 am

Okay, that works I guess, cheers.
User avatar
Brandon Bernardi
 
Posts: 3481
Joined: Tue Sep 25, 2007 9:06 am


Return to V - Skyrim