I discovered a great script that makes my windows change from open to close just by clicking them, because it uses 2 textures I dropped inside them and switches the textures on touch (open window and closed window textures)
They work great but I had to insert each texture UID code on the script for it to work
If I sell them on a house and the buyer takes them to his/her world, will the textures UIDs inside the window change or will it remain so the buyer doesn't have to go scripting to change it again ???
Thanks in a advance
Please Help Me - Script with UIDs
- Carlos Loff
- Posts: 280
- Joined: Sat Dec 28, 2013 8:58 pm
- Location: Lisbon - Portugal
- Has thanked: 263 times
- Been thanked: 191 times
- Contact:
Please Help Me - Script with UIDs
Kitely - Meta Lisbon --> grid.kitely.com:8002:Meta Lisbon Startups
Join Me on Meetup --> https://www.meetup.com/metalisbonstartups/
Join Kitely Group --> Meta Lisbon Startups
Join Me on Meetup --> https://www.meetup.com/metalisbonstartups/
Join Kitely Group --> Meta Lisbon Startups
- Handy Low
- Posts: 231
- Joined: Fri Nov 08, 2013 3:38 pm
- Location: Yorkshire, England
- Has thanked: 207 times
- Been thanked: 140 times
- Contact:
Re: Please Help Me - Script with UIDs
The same UUIDs will work anywhere on the grid.
Also, if you're using UUIDs rather than texture names to switch textures, you don't need to put the texture files inside your object.
Also, if you're using UUIDs rather than texture names to switch textures, you don't need to put the texture files inside your object.
- These users thanked the author Handy Low for the post:
- Carlos Loff
Handy Low
- Carlos Loff
- Posts: 280
- Joined: Sat Dec 28, 2013 8:58 pm
- Location: Lisbon - Portugal
- Has thanked: 263 times
- Been thanked: 191 times
- Contact:
Re: Please Help Me - Script with UIDs
Lovely, many thanks, you were very helpful for my merchant bizHandy Low wrote:The same UUIDs will work anywhere on the grid.
Also, if you're using UUIDs rather than texture names to switch textures, you don't need to put the texture files inside your object.
Cheers
- These users thanked the author Carlos Loff for the post:
- Handy Low
Kitely - Meta Lisbon --> grid.kitely.com:8002:Meta Lisbon Startups
Join Me on Meetup --> https://www.meetup.com/metalisbonstartups/
Join Kitely Group --> Meta Lisbon Startups
Join Me on Meetup --> https://www.meetup.com/metalisbonstartups/
Join Kitely Group --> Meta Lisbon Startups
- Kayaker Magic
- Posts: 354
- Joined: Sun Dec 01, 2013 8:40 am
- Has thanked: 52 times
- Been thanked: 393 times
Re: Please Help Me - Script with UIDs
And here is the amazing part: If you sell that window for export over the hypergrid to a different grid, it WILL STILL WORK!
It should not work, because those UUIDs are unique to Kitely, but those clever guys at Kitely have solved this problem!
When they export an item like this, their export logic reads your script, finds the UUIDs, exports the textures that they reference, and modifies the script to contain the UUIDs of those textures on the destination grid! If that makes no sense to you, just relax and know that there is a good reason why exporting scripts like that does work.
It should not work, because those UUIDs are unique to Kitely, but those clever guys at Kitely have solved this problem!
When they export an item like this, their export logic reads your script, finds the UUIDs, exports the textures that they reference, and modifies the script to contain the UUIDs of those textures on the destination grid! If that makes no sense to you, just relax and know that there is a good reason why exporting scripts like that does work.
- These users thanked the author Kayaker Magic for the post (total 2):
- Constance Peregrine • Ozwell Wayfarer
- Carlos Loff
- Posts: 280
- Joined: Sat Dec 28, 2013 8:58 pm
- Location: Lisbon - Portugal
- Has thanked: 263 times
- Been thanked: 191 times
- Contact:
Re: Please Help Me - Script with UIDs
I see, never thought about that, wowwwww, glad you complemented with your comment - Oh and yes, I made the British House ExportKayaker Magic wrote:And here is the amazing part: If you sell that window for export over the hypergrid to a different grid, it WILL STILL WORK!
It should not work, because those UUIDs are unique to Kitely, but those clever guys at Kitely have solved this problem!
When they export an item like this, their export logic reads your script, finds the UUIDs, exports the textures that they reference, and modifies the script to contain the UUIDs of those textures on the destination grid! If that makes no sense to you, just relax and know that there is a good reason why exporting scripts like that does work.
Clever little maniacs - Hypergrid Business said Kitely is more tecky and less social but I would not prefere the opposite
Members love Kitely so much that we will do the Social, always backed up by the GREAT TECKS, cheers
Kitely - Meta Lisbon --> grid.kitely.com:8002:Meta Lisbon Startups
Join Me on Meetup --> https://www.meetup.com/metalisbonstartups/
Join Kitely Group --> Meta Lisbon Startups
Join Me on Meetup --> https://www.meetup.com/metalisbonstartups/
Join Kitely Group --> Meta Lisbon Startups
- Mike Lorrey
- Posts: 368
- Joined: Sun Sep 04, 2016 5:40 pm
- Has thanked: 74 times
- Been thanked: 276 times
Re: Please Help Me - Script with UIDs
Go ahead and put the textures into the contents of the window object. Just referring to a UUID in the script does not protect textures against a person using another script with llGetTexture() to grab the key, then apply that key to a flat surface to take a snapshot. You can have your scrip.t use llGetInventoryKey to grab the texture key each time it runs, so the user can change the window designs they want to use.Textures are the least protectable content