I love your way and i'm now working on this , but for not being the best coder it may take some time guys , right now i'm trying to get the DeathAnimationSkillType to first get all of the animations stuff you know the basics , animation speed , speed and sound. What i think will be the hardest is having the unit recognize what unit/type of damage it is taking , so bear with me guys this might take some time
Can an experienced coder help me out here , how would i have the system register that the attacker that is attacking is indeed the right unit or have the system register that the attacker is using the right attack type anyone?
What i think i have to do here is A) create a deathanimation skill type in the header which i've done B) i'm coding it in the cpp right now. C) Create an attackertype which will be defined with the attacking units attacktype then bool if true then play the animation if else then play regular death animation sound right ?