Quote
Originally posted by Kelsan:
**I've tried that method as well, but if the original NPC is wandering it will seem to jump position when it's replaced. Besides, I can't get the method working properly. The program deletes the original NPC but doesn't replace it with the new one.
**
I've thought about this, since control of NPCs is one of my big problems. The only thing I can think of is to arrange it so that you trigger a "teleport" action that takes the player into a "main location" (replacing the map) where some plot point is made, then, before you teleport back to the map, you swap out the two NPCs. I'm not sure if this would work, though. Can you have an event in a main-type location affect things in a map location? Maybe use an initialization event in the map location, using a global variable set to spawn the replacement NPC?
In general, I hope that in future versions of Coldstone, anything you can do with your player character you should be able to do with NPCs. The Attribute, Item and Gold wizards should work with them, events attached to map tiles should respond to them, etc. The workarounds I've come up with so far may be workable (haven't tried them), but inelegant.
------------------
--
Mark