Is there an alternative to ToMessage?

It used to work great for displaying dynamic text:

ToMessage<localizes>(S : string) : message = ""

hud_message_device.SetText(ToMessage("random text"))

This has stopped working now. Is there any way not to create millions of messages for dynamic display?

HI. Does it not work when rewritten this way?

ToMessage<localizes>(S : string) : message = "{S}"

Yes, I tried it. For some reason it doesn’t work for me…

What do you mean exactly by “it doesn’t work” ?