Cool VL Viewer forum http://sldev.free.fr/forum/ |
|
Lua scripting related requests http://sldev.free.fr/forum/viewtopic.php?f=9&t=1737 |
Page 10 of 10 |
Author: | Catten [ 2020-07-31 20:10:18 ] |
Post subject: | Re: Lua scripting related requests |
Oh nice. I thought I looked for that but must not have been thorough enough. Thank you. |
Author: | linyifei [ 2023-03-11 12:08:13 ] | |||||||||
Post subject: | Re: Lua scripting related requests | |||||||||
I have been experimenting with "projector" lighting in Second Life to permit more realistic headlights on vehicles etc. The problem is that light settings that look great in ALM look horrible when ALM is turned off, so I'd like to write a function that tests whether ALM is turned on in my viewer. LSL doesn't seem to offer any way to do this so I've been looking into Lua. Unfortunately when I looked up GetDebugSetting(), the manual says:
|
Author: | Henri Beauchamp [ 2023-03-11 13:19:24 ] | |||||||||
Post subject: | Re: Lua scripting related requests | |||||||||
Simply use an AutomationRequest() from your script, and an OnAutomationRequest() callback in your automation.lua script, with a convention of yours (e.g. your script could request "is_alm", and your callback could return a string, such as "yes" or "no" as a reply). |
Author: | stuffstuffstuff [ 2023-12-07 18:02:36 ] |
Post subject: | Re: Lua scripting related requests |
Hi! Adding a function that allows inventory items/folders to be moved from one folder to another would be extremely useful. |
Author: | Henri Beauchamp [ 2023-12-07 23:11:14 ] | |||||||||
Post subject: | Re: Lua scripting related requests | |||||||||
Note: "stuffstuffstuff" is rather poor a name for a forum user name. Please consider making an account with a meaningful name... |
Page 10 of 10 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |