OsMessageObject
From OpenSimulator
(Difference between revisions)
| Line 1: | Line 1: | ||
| − | |||
| − | |||
''('''INCOMPLETE''', Requires Sample Sending.Script & Receiving.Script)'' | ''('''INCOMPLETE''', Requires Sample Sending.Script & Receiving.Script)'' | ||
| − | Syntax: osMessageObject(key objectUUID, string message) | + | Syntax: <u>osMessageObject(key objectUUID, string message);</u> |
<br> | <br> | ||
| Line 15: | Line 13: | ||
Sends a message to to object identified by the given UUID, a script in the object must implement the dataserver function the dataserver function is passed the ID of the calling function and a string message.<br> | Sends a message to to object identified by the given UUID, a script in the object must implement the dataserver function the dataserver function is passed the ID of the calling function and a string message.<br> | ||
| + | <br> | ||
| + | == Example Scripts == | ||
| − | + | Sender Script: (needed) | |
| − | + | <br> | |
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| + | Receiver Script: (needed) | ||
| + | <br> | ||
== Related Links == | == Related Links == | ||
Revision as of 08:45, 17 January 2010
(INCOMPLETE, Requires Sample Sending.Script & Receiving.Script)
Syntax: osMessageObject(key objectUUID, string message);
Where objectUUID = the UUID of teh object you are messaging.
Where message = The String of data you want to send.
NOTES:
Sends a message to to object identified by the given UUID, a script in the object must implement the dataserver function the dataserver function is passed the ID of the calling function and a string message.
Example Scripts
Sender Script: (needed)
Receiver Script: (needed)