How to Make Hud button do attack. or solve delays funcitionn
Hello, Please someone help me I'm new on Unreal engine. and im trying to create a rpg for mobile. so so far i have already created a character with walkrun/jump/attack animations. it also have particles. i have tried a variations of approach but not every thing works. the only thing works was to made a function and use it on the onclick of the buttons. but the problem is it doesnt have a delay funtion unlike the main blueprints.
if i put the attac inside a function there will be no delay so the particle and the animation will not blend smoothly. any one can know how to solve this?
asked Nov 27 '18 at 03:35 PM in Blueprint Scripting
if you want the widget to call the attack script that you have in the character bp then create a custom event (attack), connect the custom event to the branch node you have, then in the widget call the custom event when the attack button is pressed.
answered Nov 27 '18 at 04:31 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here