Go
Wc3C.net
»
Warcraft III Modding
»
Developer's Corner
»
Triggers & Scripts
»
Possible to store Attack Damage to variable ?
Possible to store Attack Damage to variable ?
04-14-2009, 02:33 AM
#1
bboy-tiger-
Possible to store Attack Damage to variable ?
04-14-2009, 03:30 AM
#2
TriggerHappy
Attack Damage Type, or the damage done by an attack?
#1
attacktype
#2 Get a damage detection script (check resource section).
04-14-2009, 12:36 PM
#3
emjlr3
I always just kept track of the last few attack damages done by the specific unit, and averaged them when needed
04-14-2009, 12:43 PM
#4
moyack
Just for curiosity... you store it by unit type or per unit?
04-14-2009, 02:00 PM
#5
Tide-Arc Ephemera
Say, Moyack, what if the unit has two attacks... or spells?
04-14-2009, 02:42 PM
#6
moyack
Quote:
Originally Posted by
Tide-Arc Ephemera
Say, Moyack, what if the unit has two attacks... or spells?
That's the reason why I'm asking that to emjlr3... because that's not so simple.
04-14-2009, 04:14 PM
#7
emjlr3
ive never ran into such issues - and I have only ever needed it for heroes, so it would be on a per unit basis
anyway, the answer is yes, its possible