Skip to content

question about persistent stores?

How did BioWare make the Volkeron store persistent across modules and areas? I have attempted the same yet each area opens a new store wiping out all the items previously sold.

Comments

  • TerrorbleTerrorble Member Posts: 169
    I don't use persistent stores myself, but if I were attempting I'd go about it this way:

    Make a vault area and place the store there.
    Have any merchant NPC open that store by referring to its tag.
    I think this much should allow it to stay persistent across areas.

    To keep it persistent across modules and resets I think you need scripts that read and record everything in the store from a campaign database.

    OnStoreClosed: this should record the resref of everything and their quantities in the store by using SetCampaignString and SetCampaignInt

    OnStoreOpen: this should read the campaign string/int vars from the database and create them in the store.
    Shadooow
  • ghowriterghowriter Member Posts: 35
    checking it out, thanks
Sign In or Register to comment.