I have a model with ranged-attack animation, and melee-attack animation.
How can I make it use it's ranged attack against enemies, that are far away, and use its melee attack on units in close range?
The animation names are:
melee - attack 1, attack 2
ranged - attack Altarnate
I kind a want to do this as much as possible trough the object editor
But I'm ready to do triggers to make it work....
EDIT: Ah, damn.. wrong sub-forum... (didn't notice I was in triggers and scripts..) please, move this to the right place xP
How can I make it use it's ranged attack against enemies, that are far away, and use its melee attack on units in close range?
The animation names are:
melee - attack 1, attack 2
ranged - attack Altarnate
I kind a want to do this as much as possible trough the object editor
But I'm ready to do triggers to make it work....
EDIT: Ah, damn.. wrong sub-forum... (didn't notice I was in triggers and scripts..) please, move this to the right place xP