On 1/29/2018 at 12:03 AM, IADaveMark said:One major problem with your stack is that, while executing a stack over multiple turns, the game state will have changed therefore possibly (likely?) invalidating your current stack -- either because it is now impossible or just plain silly.
Could this be fixed by having it action base? An example:
ActionLookForItem[ MoveUp,MoveLeft,PickUpItem] So if the Item disappears the stack can be removed. So stacks inside stacks or stacks under behavior tree.
How are stacks even used in games if they have large flaw like this?