beehave icon indicating copy to clipboard operation
beehave copied to clipboard

The export var enabled is useless isn't it?

Open kaluluosi opened this issue 3 years ago • 2 comments

Godot version: x.x.x

Describe the bug image

wether you set enabled true or false,the code doesn't use enabled to enable/disable behavior tree root. Tree still running.

Expected behavior export var enable can disable behavior tree process on ready or dynamic disable process in runtime.

kaluluosi avatar Aug 31 '22 06:08 kaluluosi

The beehave_root.gd does have enable() and disable() methods for enabling/disabling them during runtime. So this variable should not be modified at runtime. The _ready function could be modified to enable/disable based on this variable

Nemesis-AS avatar Sep 02 '22 14:09 Nemesis-AS

The beehave_root.gd does have enable() and disable() methods for enabling/disabling them during runtime. So this variable should not be modified at runtime. The _ready function could be modified to enable/disable based on this variable

may be we can add setter function to set_enable.

kaluluosi avatar Sep 02 '22 15:09 kaluluosi

Closing this, as this issue is solved in Godot 4.

bitbrain avatar Dec 16 '22 17:12 bitbrain