Jump to content

Possible to easily RE-randomize NPCs?


Tryvonvexian

Recommended Posts

TL:DR

 

Is it possible to make an npc re-randomize (gear, weapon style, vendered goods...etc.) every time you load a specific cell?

 

-----

 

So i want to make a sort of Bazzar style mod. The idea is simple, you walk into the market and 3 randomly generated npcs are there. The next time you walk in, 3 compeltely different NPCs are present. The concept is that one day you might find a potion vender with really cheap health potions. The next day you find a wizard selling rare spell books...etc.

I want the appearance of the npcs to reflect their goods. I cannot just use the same npc every time. However, I have no idea how to change/randomize npcs in this manner. Any help would be very much appreciated.

Edited by Tryvonvexian
Link to comment
Share on other sites

So, forty minutes after posting my question, i found the answer myself. (An hour of searching beforehand was useless but, that's how it goes). Leaving the question/answer up in case anyone else needs to find it.

Reset is the command i was looking for. Basically, I create a trigger box outside of the market, anytime I walk through the box, the command Reset is triggered, targeting the NPCs inside. As long as the npcs are part of a leveled list, the command will randomly pick one to replace the one that is active.

 

Resurrect is also required on the recycled actor, as the npcs seem to be naked after recycling.

Edited by Tryvonvexian
Link to comment
Share on other sites

  • Recently Browsing   0 members

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