@setoverlay_tween:[<alpha>];[<tint>];<duration>=force smoothly interpolates the overlay's alpha and/or tint from their current values to the given ones.

Syntax

@setoverlay_tween:[<alpha>];[<r/g/b>];<seconds>=force

Parameters

alpha
Optional float target. Leave the field empty to keep alpha unchanged.
r/g/b
Optional tint target. Leave empty to keep the tint.
seconds
Required duration (float).

Specification

Caveats

Examples

llOwnerSay("@setoverlay_tween:0;;3=force");      // fade out over 3 s
llOwnerSay("@setoverlay_tween:1;0/0/0;0.5=force"); // fade to black

See also

Implementation notes

Comparison with RLV

RLV has no equivalent of this command.