- Joined
- Jan 25, 2009
- Messages
- 572
I have a question about GUI damage detection system. I could try to create one but then i need some information cuz, as we all know, there will be a huge amount of calcuating.
As i know, the damage taken action can not be set into a variable instantly cuz the unit haven't been damaged because, probably, the event is unit is attacked. Then, how we can calculate how much time it takes until the unit to be damaged, bu using wait, but then, there comes another bad thing, the minimum time of wait is 0.27 seconds... And then, if the damage system is going to be used in a spell there will be a big fail, cuz the spell may set the HP of the unit being damaged to 50% of damage instead of 100%. Yeah like that.
So, but still we can calculate the wait time by include Movement speed, range of attack, rage or melee attacker?, distance between the units and how far the unit has walked using a loop trigger. Also, Missile art speed.
So, How many of you ppls think this will WORK?
As i know, the damage taken action can not be set into a variable instantly cuz the unit haven't been damaged because, probably, the event is unit is attacked. Then, how we can calculate how much time it takes until the unit to be damaged, bu using wait, but then, there comes another bad thing, the minimum time of wait is 0.27 seconds... And then, if the damage system is going to be used in a spell there will be a big fail, cuz the spell may set the HP of the unit being damaged to 50% of damage instead of 100%. Yeah like that.
So, but still we can calculate the wait time by include Movement speed, range of attack, rage or melee attacker?, distance between the units and how far the unit has walked using a loop trigger. Also, Missile art speed.
So, How many of you ppls think this will WORK?