But i can’t figure how to use set Timer by Event in a function, cause i want to have and output of this function to know if i can cast or not, and i have in my UI (widget) a progress bar link to CDTimer :
So i need to know and update the value to have a nice progress bar going down.
I find that can do the trick for update based on the value but can’t figure how to make it work in the function to make it update progessively
Can’t really use set timer by event in a function because events only live in event graph. Could try setting timer by function name, but a function won’t wait for it to finish before returning. Probably going to have to make that cd bool into a var, and check that in a branch.
But i want to make thing clean as i can don’t know if i can pass the “Handle” value from my BPC to my wiget without creating the variable and replicated it (for multi)
Pass it like that (exemple)
(return directly to func , to avoid creating variable)