OsLoadedCreationID

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
Line 3: Line 3:
 
This function returns a string containing the UUID that a sim was created with. osLoadedCreationID has a threat level of Low.
 
This function returns a string containing the UUID that a sim was created with. osLoadedCreationID has a threat level of Low.
  
<code><pre>
+
<source lang="lsl">
 
//Example Usage:
 
//Example Usage:
  
Line 14: Line 14:
 
     }
 
     }
 
}
 
}
</pre></code>
+
</source>
  
  
 
[[Category:OSSL]]
 
[[Category:OSSL]]

Revision as of 16:37, 5 June 2011

osLoadedCreationID()

This function returns a string containing the UUID that a sim was created with. osLoadedCreationID has a threat level of Low.

//Example Usage:
 
default {
    touch_start(integer num) {
        string data = "\n\n Creation Date: " + osLoadedCreationDate();
        data += "\n Creation Time: " + osLoadedCreationTime();
        data += "\n Creation ID: " + osLoadedCreationID();
        llSay(0, data);
    }
}
Personal tools
General
About This Wiki