Baaleos wrote...
Merchants can only have
OnOpenStore
OnStoreClosed
Events.
Since you have no npc's you cannot be opening or closing any shops - so the merchant objects shouldnt be affecting the npcs'
When you added the debug messages to your merchant npc's on Spawn script - what was the result.
Nothing happened, though not sure if it was the mod or the scripting, as I used lilac soul's generator to do most of the scripting. I am still trying to understand scripting/programing in genneral.
Did they spawn? What messages were wrote to the log.
No, I dont think I scripted that part right, all it did was post the mod loaded, I logged in and logged off, and the mod ended.
Are you painting them down?
Yes I painted them down.
Or Are you using Encounters?
No
Are you using a special script related to the shops?
No just the standerd script created when connecting a NPC to a shop.
Eg- one that fires on item acquired/unacquired etc?
Not that I know of, I did grab a couple of items from the vault.
Acquired fires for every inventory carrying object in the game - when it is spawned.
Merchants have inventories, even though they are not npc's
Are you 100% certain that you dont have a module wide onAcquire/UnAcquire event that may be responsible for destroying object on corpses etc?
I can look at the scripts attached to the Mod Properities. I have a few things connected to them so this may take a moment.
It could mistakenly be seeing the merchants, and determining that they are dead (because they were never alive) - and destroying object on them - thinking they are corpses that need cleaned up?
Try removing all event scripts from your module events, and do the same for the area.
And see if the npc's spawn with the shops.
I will try removeing the Module events, the area events were removed a bit ago when i first discovered the problime. One thing i did do was export two areas from the mod into a mod clear of scripting, i removed one hak from the mod, and gave it a go. What happened then was I was able to get spawns in my starting area but not in the merchant area. I forgot to mention I checked all this as a player first, then DM. What resulted was NPC's in the starting area, but when i went into the merchant district nothing showed up. So i went in and removed the shops and all map pin waypoints. On the next try I got spawns in both areas. I tried just one shop attached to one merchant, as opposed to merchants haveing a couple to five shops attached to them. Any time I added shops into the mix it would not spawn NPC"S. I hope some of what i posted makes sense and may be helpful to others in explaining my situation.
Modifié par omen_shepperd, 25 janvier 2013 - 12:17 .