Ability to send a message to everything?

I really hope Grazer can see this, as it’s important it gets added for the sake of my game.
I want to be able to send a message to everything, as I have a bundle that lets me easily change the controls and keybinds via messages. I normally use Globals as a way of messaging everything but this can get kind of tedious.

Please Grazer, this would be really helpful to me
I hope this gets added sometime soon :pray:

4 Likes


If anyone needs further explanation, this is what I’m using the messages for.

However, I have realized that these controls shouldn’t be exclusive to the player and that they should be used for other things too. (Main menu, doors, etc)

So I began adding the controls bundle to other objects. But then I realized that throughout the development of this game that I would change the controls from time to time and there might be too many objects to keep track of that have the controls bundle and I’ll have to change them all to the current keybinds. Does that make sense? I hope it does.

5 Likes

Yes, I’d like a “Broadcast” option for the message dropdown that would send the message to every object

5 Likes

You could use messages that continue to message other types or just make a bunch of messages

  1. Using messages that message to other types is not a good idea as I already have multiple parents for each object. (You can’t have 2 parents at a time.).

  2. Using a bunch of messages is inefficient and tends to get messy at times.

2 Likes

Ah

1 Like

This is litterally a global behavior.
That’s how I send the players position to all objects that need it, like enemies.

2 Likes

Yeah, I know this could be done with Globals, but it was more of a QoL request or whatever it’s called. I just feel like it’d be easier to do this, rather than this:
image
Which looking back to it now, isn’t entirely different compared to my other method.

3 Likes

Message can send to all objects to the same type, but if you want to send a message to all objects then that is no different from just using a global behavior. If anything you could send a message to a parent and all the child objects would get them.

6 Likes

It would just be more convenient to have one behavior to send a message to everything, instead of having to check a global in every object.

3 Likes

that’s what a global is?

2 Likes

A global is a variable, not a message

1 Like

That’s why I love using Global.

1 Like