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... |
Author: | g0rd0ngrfr33mailgr [ 2025-05-11 19:11:46 ] |
Post subject: | Re: Lua scripting related requests |
Would it be possible to expand the OnRadar() callback so that it informs about avatars leaving the chat/draw/shout range as well? I would like to replace the viewer's radar notifications with lua ones, using the avatar uuid to give me the avatar's name in the form "secondlife:///app/agent/" .. avatar_id .. "/about", which translates automatically to the avatar full name almost immediately, much faster than otherwise. |
Author: | Henri Beauchamp [ 2025-05-15 09:01:32 ] | |||||||||
Post subject: | Re: Lua scripting related requests | |||||||||
|
Author: | g0rd0ngrfr33mailgr [ 2025-05-15 13:29:37 ] |
Post subject: | Re: Lua scripting related requests |
Thank you!! |
Page 10 of 10 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |