Jump to content

[LE] Issues with quest aliases


Recommended Posts

I'm working on a mod that does something whenever the PC gets hit, and the best way i think i can go about it is by attaching the script to the PC via a quest alias. So i made a quest that i start with some other script, made an alias for the PC, and attached a script that extends referenceAlias to the alias. The problem is, it's not executing the OnHit() event, or the OnSpellCast() event to make sure it was working. I checked the properties and they're all there. Any idea what could be wrong or some other way of doing what i want? I've also tried applying the script using a spell, but for some reason, i can't get it to cast.

 

There's also another issue regarding aliases, in my mod, i also want to make a book that shows the value of global variables. I used https://www.creationkit.com/index.php?title=Text_Replacement To help, setting the book as a quest alias and activating the quest, but the part where i put the global just ends up blank.

Link to comment
Share on other sites

First check: Have you confirmed that the quest has started and the alias filled via the sqv console command?

No, it's not. I have no idea why. The script i use to start the quest uses the quest.start() command, with quest being the property, and i checked and made sure the property is filled, and the portion of script with the the start() command is being run

Link to comment
Share on other sites

 

First check: Have you confirmed that the quest has started and the alias filled via the sqv console command?

No, it's not. I have no idea why. The script i use to start the quest uses the quest.start() command, with quest being the property, and i checked and made sure the property is filled, and the portion of script with the the start() command is being run

 

 

This is usually caused by an alias in the quest not being filled and not being optional. If a mandatory alias is not filled, the quest will not start. Can you provide screenshots of your aliases in the CK?

Link to comment
Share on other sites

It still didn't do anything, but i found a solution. The quest was able to start when i created a stage and set it to that stage. This is for SE btw, i've used quests to apply scripts in oldrim with no problem without doing this, so i don't know why SE has to be different.

 

anyway once i did this, the quest started, the alias was applied, and the script ran.

 

EDIT: looks like this only works for console commands. i just tried to do the same thing with the script for starting it, and it's not starting it.

 

EDIT2: NVM, looks like i had to restart the save i was testing on

Edited by TheBattlesheep
Link to comment
Share on other sites

  • Recently Browsing   0 members

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