How to suspend and resume a task in the ai task queue

Wrote new code? Fixed a bug? Want to discuss technical stuff? Feel free to post it here.

Moderator: Moderators

EternalHarvest
Developers
Developers
Posts: 1798
Joined: 05 Dec 2008, 05:42
Noob?: Yes

Re: How to suspend and resume a task in the ai task queue

#11 Post by EternalHarvest »

Task::Wait already exists.

You can wait manually, but it isn't the best way when you already have all the subtasks you can combine with Task::Chained (and you will need the whole new task module just to implement your waiting implementation).