28 February 2015
28 February 2015
getviewereffects (Commands) | |
---|---|
Type | Corrade progressive command |
Command | getviewereffects |
Description | The getviewereffects lists all the currently tracked viewer effects. |
Permissions | interact |
Parameters | group , password , effect |
Last Changes | Release 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 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 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. |