The “correct” pattern to do what you want, is to use a Parallel and a Repeater, since that is exactly what you want to do> Run a parallel action repeatedly for 1 sec. (I’ve attached the pattern)
Because the parallel is set to break/stop is First Success, as soon as the Wait Action ends (which always returns Success when it ends), the parallel returns Success as well. As long as it is Running the Repeater is doing it’s stuff and repeats the child node forever.
With that said, I could alter the Repeat Decorator and add it it another ‘Mode’, Repeat fox x seconds, which in practise will encapsulate the attached pattern functionality.
Join us on Discord: https://discord.gg/97q2Rjh
Login
Register
By registering on this website you agree to our Privacy Policy.