Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
archiv:opensim:downloads:scripts:flashlight [2024/01/24 16:39] – Externe Bearbeitung 127.0.0.1 | archiv:opensim:downloads:scripts:flashlight [Unbekanntes Datum] (aktuell) – Externe Bearbeitung (Unbekanntes Datum) 127.0.0.1 | ||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
+ | ===== Flashlight ===== | ||
+ | |||
+ | Ideal für Disco´s etc. | ||
+ | |||
+ | < | ||
+ | /// Flashlight | ||
+ | default { | ||
+ | state_entry() { | ||
+ | llSetTimerEvent( 1.0 ); | ||
+ | llSetPrimitiveParams([PRIM_POINT_LIGHT, | ||
+ | < | ||
+ | // color, intensity, radius, fall-off | ||
+ | } | ||
+ | |||
+ | timer() { state blink_off; } | ||
+ | } | ||
+ | |||
+ | state blink_off { | ||
+ | state_entry() { | ||
+ | llSetTimerEvent( 1.0 ); | ||
+ | llSetPrimitiveParams([PRIM_POINT_LIGHT, | ||
+ | < | ||
+ | // color, intensity, radius, fall-off | ||
+ | } | ||
+ | |||
+ | timer() { state default; } | ||
+ | } | ||
+ | </ | ||