Changes

Jump to navigation Jump to search
Added new page
[[Category: Useful Scripts]]
 
When a user clicks the prim they will get a menu offering to tp them or give information about the place. The information option will deliver all prim contents other than the script and the location note card.
It will work inside the same sim, going to another sim or even another hypergrid destination
 
This script is written in OLSL and will not compile in second life but works in Opensim under both the X and Y Engine.
 
<br>
* Create a prim in world
* Add a new script to the prim
* Copy-paste the licence and script
* Make a new notecard and add to the prim
* Adjust the notecard to your requirements
* Edit the two lists in the User Variables to change the fixed and dynamic button names
 
==== Licence ====
<syntaxhighlight lang="" line>
{
string itemName = llGetInventoryName(INVENTORY_ALL, index);
if (itemName != llGetScriptName()&& itemName != "Location")
{
if (llGetInventoryPermMask(itemName, MASK_OWNER) & PERM_COPY)

Navigation menu