Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BG - On Interact (and possibly other events) could use an entity input #6466

Open
j-conrad opened this issue Feb 1, 2024 · 0 comments
Open
Labels
Behavior Graphs enhancement work that enhances an existing feature P2 Address when able

Comments

@j-conrad
Copy link
Contributor

j-conrad commented Feb 1, 2024

Is your feature request related to a problem? Please describe.
Sometimes it is useful to be able to store a child entity as a variable, especially when there will be other duplicate items with their own child objects that act as buttons, etc.
But then when referring to them in an On Interact event, you may want to be able to point to that child object in a non-explicit way.

Describe the solution you'd like
I'm proposing (if possible) adding an Entity input to the On Interact node. That way, you could change which entity the On Interact refers to in a dynamic (and reusable) way.
image

Describe alternatives you've considered
Putting the On Interact event in a graph on the child object itself works, but this proposal would be more modular and reusable.

@j-conrad j-conrad added enhancement work that enhances an existing feature P2 Address when able Behavior Graphs labels Feb 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Behavior Graphs enhancement work that enhances an existing feature P2 Address when able
Projects
None yet
Development

No branches or pull requests

1 participant