blog:opensim:scripts:prim_inv_trans
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
blog:opensim:scripts:prim_inv_trans [2025/06/03 11:45] – [Prim Inventory Transfer] Phil Ide | blog:opensim:scripts:prim_inv_trans [2025/06/03 12:25] (current) – [Prim Inventory Transfer] Phil Ide | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Prim Inventory Transfer ====== | ====== Prim Inventory Transfer ====== | ||
- | These are the scripts for transferring inventory from one object to another, and allowing scripts to be transferred and set to a running state. These are the scripts used in the demonstration video [[https:// | + | These are the OpenSimulator |
+ | |||
+ | ===== How They Work ===== | ||
+ | |||
+ | Place the sender prim within 10m of the receiver and touch the receiver. The receiver will now be in a listening state on a specific channel. | ||
+ | |||
+ | Touch the sender. This will now send a message on the channel. | ||
+ | |||
+ | The receiver hears the message and gets the UUID of the sender. It sends a message back that only the sender can hear. | ||
+ | |||
+ | The sender receives the message from the receiver, and learns its UUID. It sends a list of inventory containing everything it wants to send except the scripts. | ||
+ | |||
+ | The sender now sends the scripts it wants to give, using the special function '' | ||
+ | |||
+ | Note that each script sent by '' | ||
+ | |||
+ | The scripts below use the less efficient method as they are only intended to demonstrate the setting of a PIN and the transfer of inventory. | ||
===== Receiver ===== | ===== Receiver ===== | ||
<code lsl2 receiver.ossl> | <code lsl2 receiver.ossl> |
blog/opensim/scripts/prim_inv_trans.1748951132.txt.gz · Last modified: by Phil Ide