Jump to content
Heavy Traffic ×

Script Help (leveled list injection)


Plarux

Recommended Posts

Hello everyone,

 

I recently updated Simple Coffee and thought that the issue with vendor items not respawning was fixed, but I was somewhat mistaken. There have been multiple attempts with different scripts to fix this. The current script that I am using is below. It's connected to a "forced" reference alias inside of a quest that is pointed towards a vendor's aspiration container. I've experienced vendors having the items that I'd like and some not having any at all. However, the issue with respawning was fixed for the vendors that had the items. Not sure if it has to do with the leveled lists that I'm injecting or possibly the reference it's being placed into. Anyways, I appreciate any help or advice that you guys have to offer.

 

Thank You,

Plarux

Scriptname SC_AddLeveledListScript extends ReferenceAlias

LeveledItem Property LLD_Vendor_Custom_List Auto

Auto State startState
	Event OnLoad()
	    InjectLeveledList()
	EndEvent
EndState

Function InjectLeveledList()
	GetReference().AddItem(LLD_Vendor_Custom_List, 1, 1)
EndFunction

Edited by Plarux
Link to comment
Share on other sites

  • Recently Browsing   0 members

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