rizenmusic
New member
Hi! New to behaviour designer, just started to work with its concept after working with fsms. I'm trying to create a simple patrol behaviour:
A monster walks, it sees a wall or a ledge, it flips and go to the other side.
No problems here. What I can't figure out is how to set a timer so this monster would idle from time to time - say, every 6 to 12 seconds, to make it more alive.
I tried creating a branch with lower priority and random waits in it, but turned out it just run those waits instead of my primal branch and those don't work as timers. Instead, it should check every frame if the waiting is done and if it is then pause my patrol behaviour for a couple of seconds and then continue this cycle. Tried parallel, didn't work also. Help is much appreciated.
A monster walks, it sees a wall or a ledge, it flips and go to the other side.
No problems here. What I can't figure out is how to set a timer so this monster would idle from time to time - say, every 6 to 12 seconds, to make it more alive.
I tried creating a branch with lower priority and random waits in it, but turned out it just run those waits instead of my primal branch and those don't work as timers. Instead, it should check every frame if the waiting is done and if it is then pause my patrol behaviour for a couple of seconds and then continue this cycle. Tried parallel, didn't work also. Help is much appreciated.