v0.1.0 - Minor Fixes
hails.media2Prim
Notecard-based (LSL) script for randomly grabbing urls and displaying media objects on a primitive face(s)
Example
Example Notecard:
Unless you change it in the script, Notecard MUST be named hails.urls
https://some-url.tld/link-here/image.png
https://some-url.tld/link-here/animation.gif
https://some-url.tld/link-here/video.mp4
https://some-url.tld/website.html
https://some-url.tld/another-site.php
Etc..
Usage:
- Rez a new
Box/Square
Prim (recommended shape) - Create a Notecard, name it
hails.urls
- Place your personal Links to Images/Sites/Animations/Video One per line
- Create a new script and copy/paste the code over the default script
- Make any personal adjustments
- Save the script
- Adjust the prim shape/position
- Enjoy
TODO:
- TBD
Change-log
Minor Patch
RELEASED - 09/22/2023
Version: 0.1.0
- media2Prim() function fully implemented
- Sets Variable then runs Function
- New variables for easier customization
- Minor code cleanup
- Compact debug lines
- Compact random_integer variable
- Commenting/Credits
- most Redundant Code Removed
- Variable names cleaned up
- hailsSetup() Function
- Set Prim side faces to black
- Set Prim bottom face to Transparent
- Set Texture for remaining Faces to
BLANK_TEXTURE
- Set Object Name + Version
- Set Phantom State
- Set Grab/Drag Functionality State
- Check prior Setup
- Checks for setup and if it cannot find transparency on the bottom it runs the function
- can be disabled by a variable at the top of the script