Let me know of any potential fixes
add print strings or breakpoints to see which code is firing and which isn’t to find the source of the problem
already tried that still got no idea
were any of them firing?
the notifys you made on the track are you actually triggering them to the player through the animation blue print?
yes
no idea i just started ts
create an anim notify on the montage called deal damage or waht you want then in the top right press on the animation blue print then search for the node anim notify {name of notify} either make an interface or cast to the thing with the event and call the event. my guess is montage begin isnt being called properly. but regardless this will work
how would i do that Im kinda slow
nw, right click on the anim timeline near like save attack and reverse combo and that select anim notify - > new notify then name it. in the top right of the window there’ll be a 3 little orange boxes that’ll open the blue print. open the event graph if its not already you can do that by selecting it on the left inspector. right click anywhere and call notify [whatever you named the notify]. that’ll make an event. then from there cast to [the pawn that has the deal damage event] the right click and get “try get pawn owner” and plug it into the cast the drag from the reference from the cast and call the deal damage event. and that will trigger the deal damage event every time the notify triggers.
if you click on the event graph and continue following the steps
the animation blue print holds two graphs the anim graph and the event graph need to be on the event graph for these steps
how would i call notify
I did all of that and my game crashed lol
how would i make it to where it would have to hit another person for it to print somthing out
so if youre calling the deal damage from the notify get the overlapping actors of the weapon or box youre dealing the damage from and plug it in to the for loop you’ve got. also make sure the anim notify you made is at teh point of impact of the animation so if its a sword swing the damage will be dealt as it hits the object you can just drag the notify to move it