Jump to content

Recommended Posts

Posted

I have a quest with multiple unfilled optional refaliases. They are filled by a script,  I wanted the aliases to remain unique so I gave each alias the same keyword and then set a fill condition for all the aliases to match if the keyword is not present on the subject.  However, multiple quest aliases are still getting filled with the same actor.  Does this mean that the fill condition only checks for keywords on the CK actorbase or actor record but not keywords added by aliases?

 

diziet

Posted

forceRefTo bypasses all conditions and allow-flags.

If you configure your optional aliases correctly for script filling, the CK will delete any conditions you have set.

Check for the keyword in your script before forceRefTo-ing.

Posted

I understand what you mean when you say that forcerefto ignores conditions, so conditions only work when the quest fills an alias on start?

But I don't know what you mean by "If you configure your optional aliases correctly for script filling, the CK will delete any conditions you have set."  Is that something different to using forcerefto in a script?

 

diziet

Posted

ForceRefTo will work no matter how you set up the alias (except if the quest is stopped; don't do that!  The game engine behavior is weird if you do).

However, you should use forceRefTo on aliases you set up with the "specific reference", "none" fill type.  If you set it up like that, the CK will allow you to add conditions, but will then fail to write them to disk when you save.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...