I need to make a costum wait in my behavior tree depending on what attack my bot will do, or in death i need to know if some event could happen and 4 days ago i´ve started to search for a latent fuction like delay in BP, but for some reason all the posts in forums or questions in anwswershub tell that we can´t and should never use the delay function.
That’s really wierd since we can call it from the kismetSystemLibrary, and use it in BP, i’ve tried to setup the FLatenActionInfo, but that doesnt seem to work in c++.
First question, is there a way to use that fuction in c++?
If yes, can someone post a simple exemple?
If not, why not, what´s the reason behind it?
And finally, how can i do a latent fuction? If anybody knows how to do it, please post a simple exemple, please…
My exemple, that does not work.