Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

llRemoteLoadScriptPin Question

Tedd Tigereye
Medieval Crusade Dev
Join date: 26 Oct 2003
Posts: 20
09-14-2005 16:20
Im testing out passing one script from one object to another but im having trouble with the pin. Its been a while and im not sure what the pins are or how to use them. Could anyone tell me about them?
Eggy Lippmann
Wiktator
Join date: 1 May 2003
Posts: 7,939
09-14-2005 16:32
It's really simple.
Object A runs llSetScriptAccessPin or whatever its called. This only needs to run once, since its permanently saved as an attribute of the prim.
Object B contains the script, and runs llRemoteLoadScriptPin.
If the pin in A matches the pin you are using in B, the function acts like an llGiveInventory, transfering the script from B to A.
A pin is just an integer.
The owner of B will need to have permissions to modify A.
It only works in the same sim.
Tedd Tigereye
Medieval Crusade Dev
Join date: 26 Oct 2003
Posts: 20
09-14-2005 16:45
It worked thankyou!