|
Sera Lok
Lok's Low Prim Furniture
Join date: 5 Sep 2006
Posts: 169
|
04-04-2009 09:04
Does shift-copying an item with a mono script inside it have the same effect as dragging that mono script to several different items that are already rezzed in-world? Basically I want to know if the asset ID of the script remains the same in both instances.
Also, is there any way to find the UUID of a script?
|
|
Viktoria Dovgal
…
Join date: 29 Jul 2007
Posts: 3,593
|
04-04-2009 09:23
From: Sera Lok Does shift-copying an item with a mono script inside it have the same effect as dragging that mono script to several different items that are already rezzed in-world? Basically I want to know if the asset ID of the script remains the same in both instances. Yeah, that works. It takes recompiling to get a new UUID on the executable part. From: someone Also, is there any way to find the UUID of a script? Permissions willing, yes. You can drop this into a prim to confirm that shift-copy does what you want: default { touch_start(integer whatever) { llOwnerSay((string) llGetInventoryKey(llGetScriptName())); } }
EETA: IIRC this is not the real key any more, they have been giving us hashes of the real key to plug a security hole.
|
|
Sera Lok
Lok's Low Prim Furniture
Join date: 5 Sep 2006
Posts: 169
|
04-04-2009 09:26
thank you very much! 
|
|
Sera Lok
Lok's Low Prim Furniture
Join date: 5 Sep 2006
Posts: 169
|
04-04-2009 09:33
From: Viktoria Dovgal EETA: IIRC this is not the real key any more, they have been giving us hashes of the real key to plug a security hole.
Ah interesting.. I was wondering if there was any power to a script UUID, sounds like there is... Works great for my purposes tho, was just hoping to see the same number in several items, and I did. Thanks again!
|