PDA

View Full Version : Help Me Find My Dice



Nickademus
July 23rd, 2017, 06:29
Is there any reason why a set of dice would fall out of an OOB message. The dice roll is in the 'msgOOB.dice' before the Comm.deliverOOBMessage, but they are missing from the parameter of the receiving function. The 'diemodifier' made it though, but there's nothing to modify...

Moon Wizard
July 23rd, 2017, 07:50
I believe OOB messages only support 1 level deep of data transferring (i.e. no tables), and only sends strings. So, since dice are probably a table variable, it's not being sent. You'll probably need to convert to a string before appending to an OOB message.

Regards,
JPG

Nickademus
July 23rd, 2017, 10:38
Well, it sends numbers too, but I can see why the table doesn't work. Could have sworn I'd seen dice sent through OOB before though. I can't find an example now though. Thanks for the insight.