Death Animation: Arrow Kill

By LadylexUK

Description: When hit by a ranged attack that is fatal the character staggers around then falls to the ground dead (you can choose to destroy after death or not).

Because we want to play an emote at death we cannot use the [is dead] status that we use for other death animations because a character cannot play two animations at the same time. Instead we make the character immortal so that when their health hits zero they do not activate their pre-made death animation. Instead we use their health count.

You need to add an arrow to the goblins chest with a faucet fx for the blood (optional). Make the arrow invisible and the effect power off.

  1. WHEN [once] DO [immortal][equals][true]
  2. WHEN [hit by attack][ranged]
  3. …WHEN [health][less than or equal to][0] DO [boolvar:dying][equals true]
  4. WHEN [hit by attack][light][or] [hit by attack][or] [hit by attack][ranged]
  5. …WHEN [health][less than or equal to][0] DO [immortal][equals][false]
  6. WHEN [boolvar:dying]
  7. …WHEN DO [emote][Stunned]
  8. …WHEN DO [IWP:rustic arrow][visible][equals][true]
  9. …WHEN DO [IWP:FX gizmo faucet][power on]
  10. …WHEN [countdown timer][4] DO [immortal][equals][false]

 

Comments are closed.

Website Powered by WordPress.com.

Up ↑

%d bloggers like this: