Jump to content

Vendors container and scripts


Elsidia1

Recommended Posts

I have a custom vendor, what sells modded armors with attached scripts.

Armors are heavy scripted and on

 

Event OnInit()

RegisterForCustomEvent(libs, "cust1")

RegisterForCustomEvent(libs, "cust2")

RegisterForPlayerSleep()

EndEvent

 

So those events run when armor are in vendors store.

I made a changes that removes those events and change some armor properties.

 

So there is question:

If you update mod and load a save in vendor container still are armors with old properties and scripts?

If yes, there is possibility to remove all vendor items and spawn new items with new scripts and properties to do not require new clean save?

Edited by Elsidia1
Link to comment
Share on other sites

  • Recently Browsing   0 members

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