Hello,
I recently started to use this asset to make a monster AI.
I want to start with a basic behaviour, the monster wander when there is nothing to do, every 30 sec he change floor (the navmesh is in a house) and every 10 secondes the monster start chasing the nearest player. The chase should have priority on floor switching.
The problem is I dont know how to cancel the wandering of the monster based on timers, I can't use abort types with the Wait task since it doesnt return failure, only in progress or success.
I attached a screenshot of my tree to show what I have.
Thank you in advance for your help.
I recently started to use this asset to make a monster AI.
I want to start with a basic behaviour, the monster wander when there is nothing to do, every 30 sec he change floor (the navmesh is in a house) and every 10 secondes the monster start chasing the nearest player. The chase should have priority on floor switching.
The problem is I dont know how to cancel the wandering of the monster based on timers, I can't use abort types with the Wait task since it doesnt return failure, only in progress or success.
I attached a screenshot of my tree to show what I have.
Thank you in advance for your help.