Code viewer
Bon_AnimNotify_StatusEffect
Apply a status effect using a animation notify in a anim set!
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 { }