Does the ON ANY CHANNEL MESSAGE mean any TYPE of message (Number, text or stack) or does it mean message received on ANY CHANNEL?
Printable View
Does the ON ANY CHANNEL MESSAGE mean any TYPE of message (Number, text or stack) or does it mean message received on ANY CHANNEL?
What? I think it's quite obvious: On any text, number or stack message.
LoL, I found it to be less obvious... perhaps it was wishful thinking.
Any subchannel just use -1 as the subchannel! Works on all type conditions.
is there any chance of increasing the number of sub channels beyond 255?
If you're coding efficiently, 256 (Yes, 256) are more than enough. ;)
I knew that would be the answer (and yeah, 0-255 is 256), but this isn't your typical project.
What kind of project is it then? I don't see why you would require to send 256 different types of messages. Plus, you could use stacks to append an ID (type) at each message.
I'm currently using CHANNELS to separate sectors in my game. I'd rather use sub-channels. As it is now, Everything on Channel 1 is sector 1. If I used sub-channels rather than channels, it would be easy to do other things I have in mind, But I'm already using 999 sectors so sub-channels are out.
You'd have to use a stack and append a short ID to the message.