|
Russell Hansen
Texi pets are here!
Join date: 11 Apr 2006
Posts: 107
|
08-17-2006 20:35
Hi again, I want to update scripts in child prims of an object using llRemoteScriptLoadPin from an external updater object. From the wiki From: someone llRemoteLoadScriptPin(key target, string name, integer pin, integer running, integer start_param) Note: target must be a different prim than the one containing this script. llRemoteLoadScriptPin cannot copy a script into itself. Also, target must identify a rezzed prim, existing in the world. Is the wiki incorrect here in saying "prim" instead of "object"? This suggests you can update any prim if you have it's key. But child prims don't have separate keys do they?
|
|
Joannah Cramer
Registered User
Join date: 12 Apr 2006
Posts: 1,539
|
08-17-2006 21:01
From: Russell Hansen But child prims don't have separate keys do they? They most certainly do ^^ default {
touch_start(integer contacts) { llOwnerSay( (string)llGetKey() ); } }
drop that in prim, copy the prim, link them, take to inventory, re-rezz. Touch each of them, you'll receive two different responses.
|
|
Russell Hansen
Texi pets are here!
Join date: 11 Apr 2006
Posts: 107
|
08-17-2006 22:19
Well there ya go, I've been so busy working with "objects", I assumed the key I was using was object related, not root-prim related. Thanks.
|