Get Viewer Effects

28 February 2015

  • Release 7.78 - finalised.

28 February 2015

  • Release 7.75 - initial add.
getviewereffects (Commands)
TypeCorrade progressive command
Commandgetviewereffects
DescriptionThe getviewereffects lists all the currently tracked viewer effects.
Permissionsinteract
Parametersgroup, password, effect
Last ChangesRelease 7.78 - finalised.

The getviewereffects lists all the currently tracked viewer effects.

Command Required Parameters Required Corrade Permissions Example
getviewereffects group, password, effect interact
llInstantMessage(CORRADE,
    wasKeyValueEncode(
        [
            // Gets all active LookAt viewer effect.
            "command", "getviewereffects",
            "group", wasURLEscape(GROUP),
            "password", wasURLEscape(PASSWORD),
            "effect", "Look",
            "callback", wasURLEscape(URL)
        ]
    )
);

With the possible values for the parameter effect:

Parameter Possible Value
effect Look
Point
Sphere
Beam

The currently tracked viewer effects will be returned via the callback as a CSV list referenced by the data key:

Effect Return Description
Look effect An UUID referencing the effect that can be used with the setviewereffect and deleteviewereffect command.
source The UUID of the source.
target The UUID of the target.
offset An LSL positional vector describing an offset.
type The LookAt type.
Point effect An UUID referencing the effect that can be used with the setviewereffect and deleteviewereffect command.
source The UUID of the source.
target The UUID of the target.
offset An LSL positional vector describing an offset.
type The PointAt type.
Sphere effect The UUID of the effect.
offset An LSL positional vector describing an offset.
color An LSL vector representing a color.
alpha An value in the interval $[0, 1]$ representing the color alpha.
duration The duration that the original effect was set with.
termination A date and time when the effect is expected to terminate.
Beam effect The UUID of the effect.
offset An LSL positional vector describing an offset.
source The UUID of the source.
target The UUID of the target.
color An LSL vector representing a color.
alpha An value in the interval $[0, 1]$ representing the color alpha.
duration The duration that the original effect was set with.
termination A date and time when the effect is expected to terminate.

secondlife/scripted_agents/corrade/api/progressive/commands/getviewereffects.txt ยท Last modified: 2017/02/22 18:28 (external edit)

Access website using Tor


For the copyright, license, warranty and privacy terms for the usage of this website please see the license and privacy pages.