Skip to content

Releases: nikkorn/mistreevous

v4.2.0

17 Oct 07:22
1b210da
Compare
Choose a tag to compare

Added support for single and multi line comments in MDSL using /* ... */ syntax

v4.1.1

28 Jun 12:09
3433e2f
Compare
Choose a tag to compare
  • Added linting.
  • Updated dependencies.

v4.1.0

11 Apr 19:15
9f33f4e
Compare
Choose a tag to compare
  • Added Race and All node types
  • Added onNodeStateChange callback to behaviour tree options
  • Added getTreeNodeDetails method to BehaviourTree

v4.0.0

09 Mar 00:32
Compare
Choose a tag to compare
  • Added support for JSON tree defintions
  • Added validateDefintion function to use in validating JSON/MDSL definitons
  • Added convertMDSLToJSON function to convert existing MDSL definitions to JSON
  • Tidied up error handling for agent and registered function invocation
  • Action functions can now explictly return a value of State.RUNNING instead of having to return undefined
  • Fixed issue where rejected action function promises were not handled correctly
  • Fixed issue where registered functions were called with incorrect arguments
  • Fixed some typings
  • Added a BUNCH of tests

v3.1.0 - Added 'random' function option and Indefinite Waits

16 May 07:10
Compare
Choose a tag to compare
  • Added the 'random' function option which, if defined, is used to source a pseudo-random number to use in operations such as the selection of active children for any lotto nodes and the selection of durations for wait nodes when minimum and maximum durations are defined.
  • Wait nodes will remain in the running state indefinitely until they are aborted if no explicit or minimum and maximum durations are defined.
  • Added more unit tests.

v3.0.0 - Converted to Typescript

03 Feb 08:13
Compare
Choose a tag to compare
  • Converted the project to Typescript.
  • wait nodes can now use a delta time function in order to calculate elapsed durations.
  • Added more unit tests.

v2.3.0 - Global Subtrees and Functions

12 Oct 17:16
Compare
Choose a tag to compare

Added the ability to register global subtrees and functions to be referenced by any behaviour tree instances

v2.2.0 - Succeed, Fail and Retry Decorators

08 Apr 08:09
8ba72ea
Compare
Choose a tag to compare

Added Succeed, Fail and Retry decorators

v1.0.0

25 Nov 15:07
89ad3db
Compare
Choose a tag to compare
  • Blackboard functions are now called with the blackboard defined as 'this'.