limbonaut / limboai

LimboAI - Behavior Trees and State Machines for Godot 4

Home Page:https://limboai.readthedocs.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Missing methods on Blackboard object

razage opened this issue · comments

Version: Godot 4.2.2-Mono

I apologize if I'm misunderstanding the API.

I have a LimboHSM I'm using for turn management in a turn-based RPG. The LimboHSM has a BlackboardPlan and I call blackboard.top() to reference that from the LimboStates themselves. I consulted the docs and saw the get_vars_as_dict and populate_from_dict methods and thought those would be more convenient than calling set_var and get_var dozens of times. But I get an error saying Invalid call. Nonexistent function 'populate_from_dict' in base 'Blackboard'.

Am I misunderstanding, or is this a bug?

Those methods are available in latest builds, not v1.0.2. You can use the latest pre-release version: https://github.com/limbonaut/limboai/releases

EDIT:
Documentation is versioned. If you are looking for docs for v1.0, you can select it in the bottom-left panel:
image

Fair enough. I guess I didn't pay enough attention on the documentation haha.