It would seem something isn't right about en example script found on : http://opensimulator.org/wiki/LsGetWindlightScene

I think I have the correct permissions set, because the lsSetWindlightScene <http://opensimulator.org/wiki/LsSetWindlightScene> script works fine. I wanted to use the lsGetWindlightScene command, to use a water color, I selected in the client's windlight settings and share with other. Using this command should show me what to place in my scripted item to set the windlight setting number for to get the same color. Eventually to create a small weather system using windlight for cloudyness and more. It seems this example won't compile. Any Ideas why not?

list  rules_to_get =[  WL_WATER_COLOR];
list  settings;
default {
    state_entry()  {
      settings =[[lsGetWindlightScene]](rules_to_get);
      llOwnerSay("Water color is:"+llList2String(settings,1));
    }
  }


thanks for your time.

--
________________________________________________________________________
Opensim User: In Gridmode  on Version 0.7.4. Nine Instances with 56 Regions. on 
Windows 7, 64-bit. Phenom 9500 2.2 GHz Quad Core, Terabyte Hard Drive, 8gig 
DDR2 RAM.  Used XAMPP to load PHP Version 5.3.0, Apache
and MySQL 5.1.41-community edition.  Groups, Profiles, Vivox Voice and
Offline Messages all working. (Not yet Public, 6 users allowed Now).
________________________________________________________________________

_______________________________________________
Opensim-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/opensim-users

Reply via email to