So a couple years ago, I learned how to write scripts for NWN (Pre-Steam), and was able to create a really fun mod.
In this mod I have a horse market, with traders and horses of varying price and abilities... and some quirks ;P
It all worked perfectly.
When I ran the old mod, as is, in the new Steam NWN, it still worked, I could buy horses and mount them... etc.
But there were many other issues with the code not working, resulting in corruption of the mod.
So I broke down the whole mod, area by area and exported them individually.... started a new file in the new Steam NWN Aurora toolset, and imported each area individually.
That worked and I now have a good clean, uncorrupted mod I can work with.
However, some things at the micro level are now broken, including my horse market.
I can talk to a trader, he will take my money, but it no longer generates the horse....
Here is the script I was using, I am having to remember this all after not touching it for 2 years, and I am at a loss for why this isn't working now, when it did a couple days ago....
// An existing horse with a tag of "HorseTemplate" is used to create a new horse
// with a tag of "NewHorse" near the PC, who becomes the owner of the new horse.
// Remove some gold from the player
TakeGoldFromCreature(600, GetPCSpeaker(), TRUE);
object oPC = GetPCSpeaker();
//object oHorse = HorseCreateHorse(GetResRef(GetObjectByTag("HorseTemplate")), GetLocation(oPC), oPC, "NewHorse");
object oHorse = HorseCreateHorse("saddle_hrs_spot", GetLocation(oPC), oPC, "NewHorse");
Thanks in advance for any and all help!