/AuroraDocs/OSSLFunctions/osLoadedCreationID.lsl

https://bitbucket.org/VirtualReality/software-testing · Unknown · 28 lines · 28 code · 0 blank · 0 comment · 0 complexity · ad84c8e52ea2560f767d8aeb3ec1fd5f MD5 · raw file

  1. // ----------------------------------------------------------------
  2. // Example / Sample Script to show function use.
  3. //
  4. // Script Title: osLoadedCreationID.lsl
  5. // Script Author:
  6. // Threat Level: Low
  7. // Script Source: SUPPLEMENTAL http://opensimulator.org/wiki/osLoadedCreationID
  8. //
  9. // Notes: See Script Source reference for more detailed information
  10. // This sample is full opensource and available to use as you see fit and desire.
  11. // Threat Levels only apply to OSSL & AA Functions
  12. // See http://opensimulator.org/wiki/Threat_level
  13. // ================================================================
  14. // Inworld Script Line: string osLoadedCreationID();
  15. //
  16. // Example of osLoadedCreationID()
  17. // This function returns a string containing the UUID that a sim was created with.
  18. default
  19. {
  20. state_entry() // display @ start
  21. {
  22. llSay(0, "Touch to see Example osLoadedCreationID()");
  23. }
  24. touch_end(integer num)
  25. {
  26. llSay(0,"osLoadedCreationID: " + osLoadedCreationID());
  27. }
  28. }