active-logic / activelogic-cs

Behavior Trees and Case Logic for C#7
GNU Affero General Public License v3.0
106 stars 7 forks source link

Ordered composites do not greedily evaluate. #42

Closed eelstork closed 3 years ago

eelstork commented 3 years ago

With a sequence A && B && C, whereas stateless evaluation will move to B without delay if A is done, the equivalent ordered sequence will only evaluate A, leaving further evaluation to the next frame.

This conflicts with the RoR feature (#35); RoR leniency patches the issue, however this is not ideal.

Fixing this requires changing the ordered composite syntax.

eelstork commented 3 years ago

If #43 is implemented this may not be necessary

eelstork commented 3 years ago

Reset blocks now implemented. Keeping this open until I can decide whether non-greedy evaluation is still an issue.