Post by Rodak on Apr 28, 2005 7:52:32 GMT -5
OK, it seems the more I try to avoid customizing my the battle system, the more I can't avoid it.
This question almost went into my traits thread because it involves traits. But since it is only peripherally involving traits I am starting this thread!
Anyway... to the point : I made a "custom ability" which is used in my trait script. I also made a custom enemy action to use as a reaction. This ability and reaction are supposed to end the battle. I have managed to cause the enemy reaction at the right time in an enemy trait script, and have him fight effectively otherwise, but I can not cause the battle to end! I can trigger the death action and end the battle by scripting the "death" enemy action. But I am trying for an alternate way of ending the battle!
I tried tracing the "Enemy Flee" Direct Effect through it's scripts and events to see how it works, but when trashing things to see where they are used I ran into "used by Game System" and could not go further.
If I could find how this works I could adapt it to my purposes. But I really expected a flag or battle command for simply ending the battle prematurely. I could not find such in Dungeon Warden's FAQ (or anybody else's... unless I missed something!).
Exp. given or not really does not matter. The main thing is to end the battle.
If you need more information I'll post a full explanation like I did in the other thread. I suspect I am "barking up the wrong tree" again!
======
Edit
======
For the record: I have tried tripping the Always Win flag (and then resetting it), but I guess it only checks this at the start of a battle. I have tried calling the enemy flee script but only got the text. I then had to go to work (I do my best work early in the morning before conciousness has contaminated my brain!), but thought if I was completely on the wrong track someone here may know.
Peace.
++++++
Oh yeah, I also played with the "Battle end defaults" check box for event battles (in conjunction with the above) with no luck.
++++++
This question almost went into my traits thread because it involves traits. But since it is only peripherally involving traits I am starting this thread!
Anyway... to the point : I made a "custom ability" which is used in my trait script. I also made a custom enemy action to use as a reaction. This ability and reaction are supposed to end the battle. I have managed to cause the enemy reaction at the right time in an enemy trait script, and have him fight effectively otherwise, but I can not cause the battle to end! I can trigger the death action and end the battle by scripting the "death" enemy action. But I am trying for an alternate way of ending the battle!
I tried tracing the "Enemy Flee" Direct Effect through it's scripts and events to see how it works, but when trashing things to see where they are used I ran into "used by Game System" and could not go further.
If I could find how this works I could adapt it to my purposes. But I really expected a flag or battle command for simply ending the battle prematurely. I could not find such in Dungeon Warden's FAQ (or anybody else's... unless I missed something!).
Exp. given or not really does not matter. The main thing is to end the battle.
If you need more information I'll post a full explanation like I did in the other thread. I suspect I am "barking up the wrong tree" again!
======
Edit
======
For the record: I have tried tripping the Always Win flag (and then resetting it), but I guess it only checks this at the start of a battle. I have tried calling the enemy flee script but only got the text. I then had to go to work (I do my best work early in the morning before conciousness has contaminated my brain!), but thought if I was completely on the wrong track someone here may know.
Peace.
++++++
Oh yeah, I also played with the "Battle end defaults" check box for event battles (in conjunction with the above) with no luck.
++++++