Traveling Merchant
Hc_Sephiroth
Member Posts: 10
Anyone know how to script a merchant to travel from one area to another selling different items in each area, or have a merchant in one area that appears only at certain times of day?
0
Comments
You can also tell the merchant to walk to a waypoint in another area, so that PCs actually see this happen. For an example of how to script this, see the official WalkWayPoints function, in particular the code that moves an NPC from their day post to their night post.
Conditional scripts in the merchant's conversation can determine which store to open, by tag, based on time, location or whatever. A store doesn't need to be in the merchant's current area, so you can even have the same merchant selling the same stuff in several different areas if you like.