Hello everybody! I seem to have a problem here: when I "manually" delete a hostile NPC, the engine reads that he's still here. I suspect the problem may be that I have things going on while the hostility is in progress, but can't figure out how to change that. Here's the situation:
I made an NPC that's a tax collector.
He's a hostile NPC, so that he can initiate dialogue (the Player does not make the initial contact with a passive NPC; who would, when the Player knows he's collecting taxes?!).
The range weapon, which is a simple white graphic, hits the Player that then begins a series of events. The engine reads that the Player has gained x amount of money since the last time the tax collector collected (income). Then the income is divided by ten to determine how much tax the Player owes. The tax collector then takes the tax. (Actually, I give the Player a choice to pay or not to pay at this point, and if he doesn't, he's in trouble.) I delete the NPC as part of this event process. I haven't yet placed this in a timer (which I'm not worried about as I've done this quite a lot before), but all of this works well and is stable.
But once all of this runs and when the Player continues the game, he can't do any passive events. When I try to save, the dialogue comes up that you can't save while a hostile (something) is nearby. It's like an echo. I've tried deleting the NPC with the "kill" option, and the same thing happens. I've tried replacing the range weapon with a spell, and the same thing happens. I've also tried using the white as a regular weapon and the same thing happens. Actually, I've tried everything I can think of.
Any help would be appreciated. I won't be able to look at this again until tomorrow, Monday, so I thank you now!!
------------------
-- Debra
Danillitphil Productions
(url="http://"http://www.danillitphil.com/graphics/index.html")www.danillitphil.com(/url)