Alias not working with Topic Info conditions

Post » Tue Jun 19, 2012 2:19 am

I'm creating a dialogue which will not show up in the game. The problem occurs because the dialogue topic info has a logical condition that checks if an alias is dead.

Condition function: GetDead == 0 (false)
parameter: Use Aliases
Run on: QuestAlias

So if the alias is alive, the topic should display.... but it doesn't. Removing this conditional check, and the topic will display. Well, the NPC, which should have this controlling alias, is alive, but for some reason the function is either not 'seeing' the alias or thinks its dead.

I've seen this arrangement work on vanilla aliases, so there might be something wrong with how I'm setting up the alias or implementing it. Maybe the alias needs to become "switched on" somehow, so the NPC get "possessed" by it :smile: . I'm assuming all you need to do is just create the alias in the alias tab window. Is there something I need to do to make it control the character?

The Reference Alias tab is using...
Fill Type: Specific Reference (which points at the NPC in a cell)
using one AI package, and has a script to handle death. This is a vanilla script used on similar aliases to mine, all propertys set up too.

EDIT: I'd better add that The AI package used by the alias relies on a condition that refers to faction I created, adding other factions as allied. Also the coresponding factions has it as an ally too. So that should work. I removed the package, and its not changed anything.
User avatar
Marquis deVille
 
Posts: 3409
Joined: Thu Jul 26, 2007 8:24 am

Post » Tue Jun 19, 2012 7:37 am

Kaaaaaa - bump... I still can't get this working. :wallbash:

The NPC I'm trying to get to respond is a owned by a vanilla quest - Stables - to buy horses from ostlers (Whiterun atm). All I'm doing is repeating what checks the ostler makes for the player horse when the player asks to buy a horse.

The vanilla works like this...
Quest stables
Topic Text: Can I buy a horse?
Response: "Suppose so. Got one all saddled if you've got the coin."
Conditions:

A GetDead NONE == 0 AND [checks if WhiterunHorse is dead]
[Parameter flag: Use Aliases. Run on: Quest Alias: WhiterunHorse]
S GetIsAliasRef Alias:WhiterunHostler == 1 AND
S GetInFaction Faction: JobHostlerFaction == 1 AND
A GetInFaction Faction:PlayerHorseFaction == 0 AND

So mine is almost the same as the above, except "GetDead" checks for the alias of the horse I placed in the stables. Also I'm not using the faction check to help isolate the problem. All else is the same.
So this should work. The new horse has an identical alias set up - other than pointing at different horses.

I made a new quest form, a Nord NPC and gave it an alias. Then used GetIsDead (run on alias) on its dialogue just to see if it caused a problem. All worked fine.

So what could be causing the problem with my addition to the stable quest. Could it be a new bug? :blink:
User avatar
Shelby Huffman
 
Posts: 3454
Joined: Wed Aug 08, 2007 11:06 am


Return to V - Skyrim