ThePat02 / BehaviourToolkit

A collection of tools for AI Behaviour in the Godot 4 Game Engine!
MIT License
368 stars 15 forks source link

LeafCondition for Vector2.length? #66

Closed Shadowblitz16 closed 9 months ago

Shadowblitz16 commented 9 months ago

How do I use the LeafCondition for Vector2.length? image

ThePat02 commented 9 months ago

I just added scriptable conditions for you to try out in #63. Just use the latest main commit and they will be there.

ThePat02 commented 9 months ago

Oh, and condition_property is a StringName and only accepts properties that will then use actor.get(condition_property) to fetch the value. Thus, no functions or code of any kind is valid there.