HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Change a units attack animation by trigger?

08-22-2004, 09:21 PM#1
tobala75
is there any way to change the units attack animation via triggers? i wanna change the units attack animation when he acquires a certain object, if anyone know a way to do this, i would be very happy, thx.
08-22-2004, 09:26 PM#2
Vexorian
That would be good, but no there isn't
08-23-2004, 02:26 PM#3
Freaking_Fish
You can make an array that will keep track of ALL of the unit's stats, and make identical units for each attack animation you want, and then have the unit you want changed to's stats made equal by the array that you set according to the original unit's stats, then change to the unit with the new attack animation that you want. So: original unit's stats = unit with different animation's stats. (if you can train/buy this unit, STOP READING HERE, CAUSE' YOU CANT HAVE AN ARMY OF "CUSTOMIZIBLE ATTACK ANIMATION UNITS".)

you can do this; it just takes some effort on your part.
08-23-2004, 06:54 PM#4
Vexorian
Quote:
Originally Posted by Freaking_Fish
You can make an array that will keep track of ALL of the unit's stats, and make identical units for each attack animation you want, and then have the unit you want changed to's stats made equal by the array that you set according to the original unit's stats, then change to the unit with the new attack animation that you want. So: original unit's stats = unit with different animation's stats. (if you can train/buy this unit, STOP READING HERE, CAUSE' YOU CANT HAVE AN ARMY OF "CUSTOMIZIBLE ATTACK ANIMATION UNITS".)

you can do this; it just takes some effort on your part.
I don't think you understood his problem at all
08-23-2004, 07:00 PM#5
SirSalute
Doesn't the orbs change the attack animation?
08-23-2004, 07:04 PM#6
Vexorian
Animation is not the same as projectile effect
08-23-2004, 10:08 PM#7
Arksword(sv)
The only instance in which u can change a unit's attack animation is in the object editor, not triggers. But it only works with units that have alternate animations, like the Demon Hunter. So say u remade a whole batch of animations for a unit, keeping them all the same, except his attack, name them all alternate, and then in the required animation art or whatever, name them alternate. I think that would work. Maybe not. I understand what u want to do, but I think it's impossible without model editting.
08-24-2004, 10:38 AM#8
volatile
Seriously, when Vex answers and you guys keep goin on and on thinking you can find a solution... Give it up plz, thx.
08-24-2004, 02:13 PM#9
Freaking_Fish
Quote:
Seriously, when Vex answers and you guys keep goin on and on thinking you can find a solution... Give it up plz, thx.
Eh.... I dont give up very easily. uh, maybe you didn't understand what I said. (He is trying to implement this for just one unit, right? otherwise it really wont work.) Now, what I said CAN be done. Just make the same unit with different attack animations, and have the array keep track of the unit's major stats (ie: hitpoints, manapoints, level, etc...) and when, say, you pick up a sword, have it change to the sword attacking unit, pick up a spear, have it change to throwing a spear, and so on. projectile attacks are easier. Now, vexorian is very right if you are trying to change whether the unit jumps and attacks, whether he slices left or right, etc.
08-24-2004, 04:21 PM#10
Arksword(sv)
Wow, I was just trying to help. I'm sorry if I found a solution that Lord Vexorian didn't think of u ass
08-24-2004, 05:54 PM#11
tobala75
thx for all the answers, i will keep trying, i post if i find a solution.