Jump to content

[LE] Question regarding dialogie scripts


hubbawubba

Recommended Posts

Hi, I am new to modding and I wanted to experiment around with the Creation Kit. So, I went ahead and started editing an already available esp file. I went on dialogue and added a new dialogue option. This, worked without issues. Though, now that I added a script to the option. The script does not start at all. I have even copied the script from the option right above it to the new option and that did not work in either. Is there something I am missing that I need to add for the new option to trigger the script.

 

Thanks.

 

P.S. I have copied the script then added it to the option to the right and compiled. After that I compiled with the option in the middle, too. Then, saved the ESP.

 

Edit: Solved.

Edited by hubbawubba
Link to comment
Share on other sites

Dialog is handled by quests. When a quest is started it loads everything up and stores it in memory. As a result, anything new you add to the quest will not run as expected should that quest already be running in the save game where you are performing your testing. Therefore, always do your testing on a new or clean game (clean game refers to a save file that has not seen the mod in question).

 

Also, seeing your script code may be of help too.

Link to comment
Share on other sites

Hi IsharaMeradin, thanks for the information. Though, that did not help. I started a fresh save and tried it, no luck.

 

Edit: So, I used debug notifications instead of the script and the debug worked. So, I know it has something to do with the script associated with the ESP. I even put my custom script in one of the other options and it worked. I do not know how this works, though.

 

Edit 2: So, I have figured the issue out. It is because the other dialogue entries have a script property which is missing from mine. I tried to edit those to try and copy paste that gave me an error. Same for editing mine.

 

Edit 3: Managed to finally solve my problem after more than 24h of finding a solution. If anyone is interested in how to fix the problem in Edit 2, look here:

 

https://www.creationkit.com/index.php?title=FAQ:_My_Script_Doesn%27t_Work!#I_can.27t_add_a_property_to_a_script_fragment.21

Edited by hubbawubba
Link to comment
Share on other sites

  • Recently Browsing   0 members

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