Open ray2k opened 2 months ago
Multiple goals do work. Usually when I've seen it spin and then die, it's because it finds one or more goals impossible and no limits have been set on how far to search for completing the goal. The code above, at first glance, looks like it should work though. I'll try to replicate on my end and get back to you when I figure it out.
Multiple goals should be supported, right?
When I have this happiness-increaser based example it runs until it hits 25 as expected:
But that's pretty contrived as it's basically a goap version of a while-loop. Whenever I add an additional goal + action, it gets an IndexOutOfBounds exception related to A*- this setup should be solvable though, right?
Tried:
Is it because they are booleans? Is this even supported? What am I missing?