Hi, I'm very frustrated.
I'm trying to make a stationary NPC that can attack the player through spells, such as a rooted flower that sprays poison, or a stationary gun that shoots electrical zaps at the player. I've tried lots of stuff to make the NPC stay put, but none of it seems to work. I've used aggressive casters, and passive NPC's, and tried setting their map range to 0, but this AI feature seems to only be effective untill they see the player or are attacked by the player, then they can move. I've tried setting their speed to 0, but that doesn't work, I've seen mentioned somewhere that that's still a bug. I've even tried setting their morale to 0, since that's supposed to at least keep them from running away after they have been attacked (or their allies) a certain amount, but that doesn't seem to work either! Maybe there's some mystery code that sets all 0's to 1's and needs to be removed. I don't expect a bug fix anytime soon though. :frown:
I could make all the tiles around them inaccesable, but then the player couldn't attack them, so that's out. I guess I could try just making the tile they are standing on inaccesable... (and then flip it when they die...) I hadn't thought of that, that might work, but I doubt it. I'll try when I get home though. (Nope, that didn't work.)
I've been bashing my head on this for a while, does anyone else have a method that actually works?
Can I pay someone to fix the 0 speed bug? (Yes I did register.) I'd fix the bloody thing myself if someone was willing to send me an NDA and the source code. Oh how I wish I could patch the engine.
Thanks, Katherine
------------------