I have come accross a strange behaviour.
I am trying to pass message to my gui via msg.post but somehow when I name the message_id as “set_text”, only text part of my table is transferred.
So my question is… Is the “set_text” some kind of reserved word?
I did not find anything about it and there is a lot of information about msg.post, so I just got lost after some time.
This is a test project I made in order to eliminate my other work. msg_passing_test.zip (61.2 KB)
I am not sure. As I see it, all it says is that the label text is not set immediately.
I tried to even dive into that Application Lifecycle article a bit, but I just did not find anything which would prove this. But it may be also because I did not comprehend it quite well. It’s complicated.
Yes, I can understand what is written there. I was refering to my original question that I did not find any connection there.
But yeah, it behaves as if it was forced to use some predefined function. I am just wandering if there are some other reserved message_id names that I shouldn’t use.
If you ask me, this is just weird and not very intuitive…
Sorry to bother you @britzl, but could you please comment on this?
Thanks
@Alex_8BitSkull is correct. There are a number of messages used internally in the engine, with set_text being one of them. We do not have these messages documented anywhere, mainly because we have no automated process in place to extract documentation about them from engine code.