Jump to content

[LE] Adding items via leveled list script - Quest won't start


Recommended Posts

Hello there.

 

I have done a few simple mods for skyrim and F4, and have run into a difficulty with my some of my latest work.

 

I have created some items (they work fine, added via console, etc.) and want to add them into the game via script to specific leveled lists.

 

I have done this successfully in F4, but my quest won't start in skyrim, so looking for some suggestions;

 

Here is what I have done;

 

Created quest.

Set it to Start Game Enabled, and Run once.

Put a script in the Scripts tab.

 

Here is my script; (i left out the property statements).

 

Event OnQuestInit()
Utility.Wait(5.0)
LItemEnchJewelryAll.AddForm(SFWE_LLEnchantedWarmthItems,1,1) ; Add to Enchanted jewlery loot list.
LItemEnchJewelryAll75.AddForm(SFWE_LLEnchantedWarmthItems,1,1) ; Add to Enchanted jewlery Merchant list.
LItemRobesCollegeMagickaRegen.AddForm(SFWE_LLEnchantedWarmthItems,1,1) ; Add to College Enchanted Robe merchant list.
debug.notification("Items added to leveled lists. ") ; Message to know line was processed.
EndEvent
I can't even get the notification to run. I have an almost identical script and quest in F4, and it works well.
But for the life of me, I can't figure out why the skyrim quest won't work.
I have no errors I can find in the papyrus log.
(I have another mod that uses the mcm, and an empty quest - and that mod works fine.... ????)_.
Any suggestions are highly appreciated.
Link to comment
Share on other sites

OnQuestInit() is not a default Skyrim event, so the compiler thinks you're defining a custom one of your own, which the game engine, obviously, can't call.

 

You need OnInit() instead.

THAT WAS IT!!!!

 

THANK YOU!

 

Thank you for taking the time to read the post, and respond.

I appreciate it.

 

Goes to figure such a simple mistake can prevent so much.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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