Sending Text through messages

I’m trying to make one central label that handles all the text for that object. But how can I do this? because text can’t be sent messaged.

1 Like

Could you maybe send it through global variables?

1 Like

They don’t go through either

You can set the global’s value type to “text” when you create it, does that not work?

1 Like

Do you know if you can get rid of globals, like if you make one, and don’t want it anymore?

1 Like

I don’t think there is a way to get rid of them sadly

I accidentally copied something from another game that had like 40.

Yes, a trick I learned from JR01:
Delete all instances of the global and then reload the game; global names only stay if they’re being used.

1 Like

I’m not using about 10 of them, and they stay no matter what.

1 Like

You can’t be using them at all in any object’s code…I just checked, deleting them like this definitely still works, just give it a bit of time.

1 Like

Weird, I can’t find any more of them. But they’re here to stay.
I went through every object… nothing.

1 Like

I wish there was a way to see what objects a certain thing is contained in. Or where messages and variables are being sent from or used

2 Likes

This is brilliant, This should be a priority

2 Likes