beehave icon indicating copy to clipboard operation
beehave copied to clipboard

Some useful nodes

Open Shadowblitz16 opened this issue 1 year ago • 3 comments

Is your feature request related to a problem? Please describe. I was using behavior toolkit and liked some of the things it provided

Describe the solution you'd like Here are a list of some useful nodes that could be added...

  • WaitLeaf
  • TweenBlackboardValue
  • CallMethod
  • CallSetter
  • CallGetter
  • EmitSignal
  • AwaitSignal
  • Print
  • PrintBlackboardValue
  • GetBlackboardValue
  • GetInputPressed
  • GetInputAxis
  • GetInputVector2
  • GetInputVector3

Describe alternatives you've considered I was using behavior toolkit but it has some problems also. I am just trying to suggest ways to improve both addons

Notes

  • Call Setter and Call Getter would inherit CallMethod and would prepend get and set onto the method name
  • GetBlackboardValue is like SetBlackboardValue but doesn't have a Value parameter
  • GetInputPressed would have a Action parameter that would be a dropdown of all bound InputActions
  • GetInputAxis would have a negative and a positive Action
  • GetInputVector2 would have a negative-y, positive-y, negative-x, and positive-x Action
  • GetInputVector3 would have a negative-z, positive-z, negative-y, positive-y, negative-x and positive-x Action
  • Wait leaf would be like the decorator but would be a leaf

Shadowblitz16 avatar Dec 31 '23 18:12 Shadowblitz16

Should this be added to beehave or be a seperate thing with "beehvae extras" or something? This way we can keep beehvae itself minimal but also allow fast and safe development for everyone, I have a couple of nodes like those in my project as well.

lostptr avatar Jan 03 '24 13:01 lostptr

Also, what exactly the Get* nodes would do? Store the result somewhere in the blackboard?

lostptr avatar Jan 04 '24 00:01 lostptr

Should this be added to beehave or be a seperate thing with "beehvae extras" or something? This way we can keep beehvae itself minimal but also allow fast and safe development for everyone, I have a couple of nodes like those in my project as well.

I think a few of them like the EmitSignal one are generic enough to be included in Beehave itself - namely EmitSignal - but I do agree that most of them don't belong directly in Beehave, mostly the input-related ones.

RedstoneParadox avatar Jan 10 '24 04:01 RedstoneParadox