llDialog: LSL event on closing a dialog
Artesia Heartsong
LSL dialogs require a timer() event to make sure listeners aren't endlessly open.
Why not implement an extra special message when a dialog is closed? Whether it's by the Ignore button or the X. What about an empty message, is that an option? As buttons must have at least 1 character.
Log In
WolfGang Senizen
This could be done, but risks breaking older content (admittedly badly scripted if "vulnerable" to this, but hey LL don't control that) which is something LL have an aversion to without good reason / need.
One of the issues is that the user can tp away, log out, or get disconnected. In theory the sim could keep track of every dialog sent and send the message for them if the leave, but this would still possibly break old
But in general it's been left to the scripter to manage this themselves.
Again this is something that the current lua project should improve especially with multiple timers and support for js like timeout functionality.
Artesia Heartsong
WolfGang Senizen I'd agree when someone teleports out or crashes, there is an issue here. A timer() still may be necessary. But at least it would catch explicit closure of a dialog box, upon which a script can act.