AI Packages owned by quests and Aliases

Post » Tue Jun 19, 2012 11:20 pm

Has anyone had any sucesss using an AI package such as a follow package, where its set to be owned by a quest you made, and target an alias rather than a ref.

I tried three ways with no sucess:
  • Setting the ownership to my own quest, and target the alias. :nope:
  • Make a new template, set ownership, set TargetToFollow to public (so its visible in the package) and set both to the alias. :nope:
  • Make a standalone package :nope:

None of these seem to be able to detect the target on their own.

Anyone had any sucess with this feature?
User avatar
jessica sonny
 
Posts: 3531
Joined: Thu Nov 02, 2006 6:27 pm

Post » Wed Jun 20, 2012 12:47 am

Ive had a lot of difficulties with it
http://www.gamesas.com/topic/1354960-npc-ai-packages-have-got-me-stumped/page__fromsearch__1
User avatar
Julie Serebrekoff
 
Posts: 3359
Joined: Sun Dec 24, 2006 4:41 am

Post » Wed Jun 20, 2012 4:45 am

Ive had a lot of difficulties with it
http://www.gamesas.com/topic/1354960-npc-ai-packages-have-got-me-stumped/page__fromsearch__1

I can't use Allow Reserved when Quest enabled is checked - its always greyed out. One difference with my mod is that it targets a vanilla NPC (player horse alias) which is also problematic since its part of a vanilla quest. I tried making a empty alias on my quest as a copy of the player horse alias, set the optional flag, and this script to fill it - hopefully. Not sure if the script is doing the right thing, or just sending null information - but the compiler likes it. (credit to Cipscis).

referencealias playerHorseAlias = stables.GetAlias(25) as ReferenceAliastgtPlayerHorse.ForceRefTo( playerHorseAlias.GetReference())quest property stables AutoReferenceAlias Property tgtPlayerHorse Auto

So whats the situation now, have you solved all your alias problems?
User avatar
NAkeshIa BENNETT
 
Posts: 3519
Joined: Fri Jun 16, 2006 12:23 pm

Post » Wed Jun 20, 2012 3:47 am

Yes and no. Two NPCs begin their package but I think they are affected by the navmesh issue. The other two for reasons I cannot understand do not even begin their package.

Using that debug.messagebox("NPC Is doing package") on the package begin area will help figure out your issues. (If that debug message doesn't show they aren't even initating their package.)
User avatar
Kari Depp
 
Posts: 3427
Joined: Wed Aug 23, 2006 3:19 pm


Return to V - Skyrim