Well preferably id like to play a death animation without having the unit die. which the code posted achieves to some extent. the unit will be unselectable and stationary, which should leave some options open... i could have the unit die with a specific animation then spawn another at a point location... but that doesn't seem as efficient to me, and i dont even know how to do that.
If this is possible through an ability in the data editor, that would be the best option for my project. the ability would have to simply play a specific death animation on a specific unit on the map repeatedly. so you can see why not having the unit die is a benefit here, though i could just get unit at point location after i spawn a new one... though thats a trigger thing not an ability thing i think...
also how do you differentiate between different dance animations on the marine? i tried trial and error, but theres like thousands of option combinations... i think if you set it to dance variation 0 it will always do the both hands up in the air dance every time. but none of the other variations i tried seem to do anything
the marine is going to be a form of active visual feedback. if u fuck up, he dies. if you do good, he dances. simple. this will be happening maybe twice a second, so i chose this form of feedback as the best option. maybe ill add a sound that plays later too, but any kind of text as feedback is out of the question.
and for the ability, how do you make an ability used by a random unit effect a very specific unit without any interaction from the user such as targeting? erm u saw my other post in the data editor :P. these 2 posts kinda go together... what i want is for example an ability on a stalker half way across the map to cause a marine somewhere elce to play a death animation or a dance animation depending if the correct ability was used, then return to normal. without anything more then the user pressing on the ability.
the marine is going to be a form of active visual feedback. if u fuck up, he dies. if you do good, he dances. simple. this will be happening maybe twice a second, so i chose this form of feedback as the best option. maybe ill add a sound that plays later too, but any kind of text as feedback is out of the question.
and for the ability, how do you make an ability used by a random unit effect a very specific unit without any interaction from the user such as targeting? erm u saw my other post in the data editor :P. these 2 posts kinda go together... what i want is for example an ability on a stalker half way across the map to cause a marine somewhere elce to play a death animation or a dance animation depending if the correct ability was used, then return to normal. without anything more then the user pressing on the ability.
Well it sounds from this like you just want to control the units with triggers you can set the model and animation to play with triggers
Trey using send actor message "play animation name"
If youd like more information Give us more of a detailed explaination of what your exactly trying to do?
Rollback Post to RevisionRollBack
Skype
KageNinpo = SN
My Libraries
DialogLeaderboard & TeamSort
My Projects
SPACEWAR Tribute
Infinite TD
To post a comment, please login or register a new account.
This is curently what i do to achive this effect:
is there a better way? theres gota be a better way... also is this possible though making an ability in the data editor? if so how!
Please help! thanks for your time.
@Baldey: Go
You want to play a specific death animation when something dies?
Do you want the same death animation on all units killed by this ability ?
@SouLCarveRR: Go
Well preferably id like to play a death animation without having the unit die. which the code posted achieves to some extent. the unit will be unselectable and stationary, which should leave some options open... i could have the unit die with a specific animation then spawn another at a point location... but that doesn't seem as efficient to me, and i dont even know how to do that.
If this is possible through an ability in the data editor, that would be the best option for my project. the ability would have to simply play a specific death animation on a specific unit on the map repeatedly. so you can see why not having the unit die is a benefit here, though i could just get unit at point location after i spawn a new one... though thats a trigger thing not an ability thing i think...
also how do you differentiate between different dance animations on the marine? i tried trial and error, but theres like thousands of option combinations... i think if you set it to dance variation 0 it will always do the both hands up in the air dance every time. but none of the other variations i tried seem to do anything
@Baldey: Go
Let me ask this then.... why do you want to play the units death animation if its not dying.....
If its for a custom abiltiy you can just give the effect for you custom abiltiy the appropriate actor and set the animations you want on the actor.
@SouLCarveRR: Go
the marine is going to be a form of active visual feedback. if u fuck up, he dies. if you do good, he dances. simple. this will be happening maybe twice a second, so i chose this form of feedback as the best option. maybe ill add a sound that plays later too, but any kind of text as feedback is out of the question.
and for the ability, how do you make an ability used by a random unit effect a very specific unit without any interaction from the user such as targeting? erm u saw my other post in the data editor :P. these 2 posts kinda go together... what i want is for example an ability on a stalker half way across the map to cause a marine somewhere elce to play a death animation or a dance animation depending if the correct ability was used, then return to normal. without anything more then the user pressing on the ability.
@Baldey: Go
You could also just send an actor message. If you use an ability the actor events can also check and play the appropriate animation.
Well it sounds from this like you just want to control the units with triggers you can set the model and animation to play with triggers Trey using send actor message "play animation name"
If youd like more information Give us more of a detailed explaination of what your exactly trying to do?