What I'm trying to do is stack state changes on an enemy. For example, I can stack bleeds on the enemy using a "Bloodgush" skill (states will be called Bleed1, Bleed2, Bleed3, etc.) Once the enemy hits a bleed5 they will recieve a state change of fatal. Each state will go in order. You cannot stack a bleed2 on an enemy unless they have bleed1. Bleed3 will not stack unless enemy has Bleed2 and so on.
For all intents and purposes each Bleed stack is a different animation that makes the enemy look worse-and-worse.
Is there any way to do this? Whether in script or just through the database?
I don't know about a script like that, but when somebody creates one (it's REALLY easy, just check if a state is there and add another one), I will gladly add it to Tons of Add-ons.
Can anybody help me with this? Thanks Blizz for giving me a rough idea. Can someone perhaps at least point me in the direction where I would go in and make those kind of changes to the existing scripts? Optimally it would be a seperate script where I could configure it sort of like Blizz, where arrays hold values that the user could easily input instead of hardcoding in the states.
I've always liked the idea of progressive or stackable states and want to implement this for a new game I'm making.
Meh, give me a few minutes. I'll do it myself. Expect Tons v6.7b any minute.
EDIT: Just a question, old states disappear, right?
EDIT: Nvm, I made it optional. Anyway, I'm going to put up Tons v6.7b now.
EDIT: Done. http://forum.chaos-project.com/index.php?topic=105.0