limbonaut / limboai

LimboAI - Behavior Trees and State Machines for Godot 4
https://limboai.readthedocs.io/
MIT License
1.14k stars 37 forks source link

LimboAI 1.0.2: Blackboard.link_var() and bind_var_to_property() do not expose 'create' param for GDScript #141

Closed smedelyan closed 3 months ago

smedelyan commented 3 months ago

The doc says:

void link_var ( StringName var_name, Blackboard target_blackboard, StringName target_var, bool create=false ) ... If create is true, the variable will be created if it doesn’t exist.

However, in GDScript create is not available:

image

Same for bind_var_to_property()

LimboAI version: 1.0.2


I can see that there is a var binding, so maybe it just didn't end up in the latest (1.0.2) release?

smedelyan commented 3 months ago

Ok, I found this: https://github.com/limbonaut/limboai/releases/tag/v1.1-rc

It seems the fix is already scheduled for the 1.1 release so feel free to close this issue

limbonaut commented 3 months ago

It's not a bug - you are using latest documentation with v1.0.2. There is a separate docs branch for 1.0 stable releases: https://limboai.readthedocs.io/en/v1.0/

You can switch doc branches in the bottom-left panel: image