Hello! I want to send a message with a collection id to my “level_loader” script
it looks like this
msg.post('main:/level_loader', 'load_level', { level_id = "level_id_value" })
but I want to set “level_id_value” from the editor, so I use a property
go.property("loading_collection", msg.url(''))
msg.post('main:/level_loader', 'load_level', { level_id = self.loading_collection })
It doesn’t work, but I can’t understand why.
Can you help me? Explain my mistake and what I should do to fix it.