Talk:LlMessageLinked

From Second Life Wiki
Jump to navigation Jump to search

Some users have noted occasional failures of linked messages when sending a message to a large number of receiving scripts in different prims using LINK_SET, LINK_ALL_OTHERS, & LINK_ALL_CHILDREN (ie. not all prims receive the message). -- Void Singer

This could be due to the event queue being full or changing state after the event was queued but before it was dequeued. Considering the lag spike that can be generated by sending link_messages to a large number of scripts it is not a good idea to do so. Try to design your scripts so you don't need to use multi-prim LINK_* flags. If you were sending multiple messages in rapid succession to a large number of scripts it is quite possible the lag spice could slow script execution to the point where the event queue would fill and messages would be dropped. -- Strife Onizuka 23:51, 28 February 2008 (PST)