[Opensim-users] Example scriipt for Windlight wrong?
InuYasha Meiji
inuyasha.meiji at gmail.com
Wed Jan 2 01:58:49 UTC 2013
I just want to thank you so much, for some reason I just didn't get it.
I must be tiring out. Thanks again for the quick responce.
InuYasha.
On 1/1/2013 6:08 PM, Justin Clark-Casey wrote:
> The syntax is wrong, there should not be braces around
> lsGetWindlightScene, probably a wiki-format artifact. If these are
> removed then the script works if LS is enabled. I have corrected the
> wiki.
>
> On 28/12/12 02:51, InuYasha Meiji wrote:
>>
>> 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).
________________________________________________________________________
More information about the Opensim-users
mailing list