Hello all,
This is my first post on this board. I'm trying to create a simple little NPC and I'm having a problem.
I've created this NPC thus far using Ghreyfain's Beginner's guide over in the Tutorials section. I've written some simple dialogs, created the CRE, and written/compiled the necessary ARxxxx.BCS script extension needed to spawn the NPC. My TP2 file compiled the entire thing (apparantly) OK.
Before I continue, let me provide a little bit of info. I have a fairly clean install of SoA, TOB, the official TOP patch. The only mod I have installed is DungeonBeGone, so that I could (duh) get out of the dungeon quickly and test the my NPC mod.
Furthermore, I started a new game after installing the new NPC, just to be on the safe side.
OK, now to the problem. I have my NPC (a CG female elven swashbuckler) designed to spawn inside the Copper Coronet, fairly close to the front door, near where Yoshimo appears. HOWEVER, when I try to enter the C.C., the game hangs when after it apparantly completes loading the new area.
What's going on here? Is this a symptom of a looping condition in the game?
This is the contents of the BAF file that I appended to the AR0406.BCS file using the EXTEND_BOTTOM.
IF Global("NyaExists","AR0406",0)
THEN
RESPONSE #100
SetGlobal("NyaExists","AR0406",1)
CreateCreature("Nya",[1168.1722],7)
END
I actually used NearInfinity to compile the BAF file into a BCS file. However, either way, after the hangs, I've used NI to check the state of the "extended" AR0406.BCS file and my Nya spawning IF statement isn't there. The WeiDU debug file indicates that it performed the extension and the AR0406.BCS has been moved to the override folder after installing the mod. But the file somehow isn't getting the additional stuff added. Odd.
Any thoughts, suggestions, etc.?
Thanks in advance.