Second Life Link Message Debugging
Posted on November 24, 2006
I find myself using a lot of link messages when scripting in Second Life lately. In order to keep track of what's going on, but without riddling the various scripts with debug output, I just add another "linkmessage debugger" script, with the following content:
default
{
link_message(integer sender_num, integer num, string str, key id)
{
llOwnerSay("LM DEBUG: " + llList2CSV([sender_num, num, str, id]));
}
}
It's also interesting to use it on modifiable objects from other people and see what messages they're spewing out.
Print This Post