28 February 2015
28 February 2015
The getviewereffects lists all the currently tracked viewer effects.
| Command | Required Parameters | Required Corrade Permissions | Example |
|---|---|---|---|
getviewereffects | group, password, effect | interact | |
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. |