Iterators
These are used to allow for more control over behaviors and can be used to lower predictability of the NPC's as well as more provide more powerful solutions
These can be applied in the AI Flowchart Menu by clicking the grey arrow coming off of each node above the final level, this will present a widget with a list of options to select from. Certain nodes will have a default.
This version will get the next node within the collection, it will not carry out checks before returning and will not loop.
This will get the next node within the collection which requirements are met, this means it'll skip over ones which are not met. It will not loop.
This will randomly select a node from the selection and will do so for the amount in the collection. It does not loop and can have duplicates
This will randomly select a node from the selection and will do so until nodes in the collection have run. It does not loop but can not have duplicates.
This version will get the next node within the collection, it will not carry out checks before returning but will loop. Failing will result in all other nodes being skipped like normal.
This version will get the next node within the collection, it will not carry out checks before returning but will loop. Failing will result in all other nodes being skipped like normal. This will be done in order of local weight.
This version will get the next node within the collection based upon local weighting, it will not carry out checks before returning and will not loop.
Bugs and Features can be requested at the following link
We love to hear your thoughts on the product good or bad, please feel free to submit it on the Unity Asset Store and here
Discord to get the latest news and quicker help