Bon_AnimNotify_StatusEffect

Apply a status effect using a animation notify in a anim set!

Bon_AnimNotify_StatusEffect.uc

[RAW] [Download]

class Bon_AnimNotify_StatusEffect extends AnimNotify_Scripted;
 
var() class<Hat_StatusEffect> StatusEffect;
 
event Notify(Actor Owner, AnimNodeSequence AnimSeqInstigator)
{
    Hat_PawnCombat(Owner).GiveStatusEffect(StatusEffect);
}
 
event NotifyEnd(Actor Owner, AnimNodeSequence AnimSeqInstigator)
{
    Hat_PawnCombat(Owner).RemoveStatusEffect(StatusEffect);
}
 
defaultproperties
{
}