how can i disable the ,tick" when it moves to me? it moves to me but the tick
causes that it does the other thing…wich fuction can overwrite the tick?
#animation
how can i disable the ,tick" when it moves to me? it moves to me but the tick
causes that it does the other thing…wich fuction can overwrite the tick?
#animation
Delay doesn’t do anything on tick.
You only need to call AI move to once, so you can put it on begin play.
now i have a loop but when it moves to me it gets interupted by the loop of the roaming fuctions (the blocks on top)
You want it to move around randomly, unless it sees the pawn, then head for the pawn, right?
You can do it in just blueprint, but it’s easier with a behavior tree
ok i will look after this tomorrow thx mate
ugh 50 minutes tuturial seems tricky to watch… i think im gonna stay with bp then
Try the Behavior Tree Quick Start Guide from the official Unreal Engine documentation. I strongly recommend C++ or Behavior Trees for complex AI’s, as it is much easier to keep things organized and efficient.
P.S there is a mistake in the docuentation, so you will need to mark your “PatrolLocation” variable instance editable and set it in your behavior tree. This is in the FindRandonPatrol section.
This topic has been moved from Feedback For Unreal to Programming & Scripting - Blueprint.
When posting, please review the categories to ensure your topic is posted in the most relevant space. We hope this new section helps you to find a solution!
-Panda