From 624cde8186554d9adb7641416b5757929f988d17 Mon Sep 17 00:00:00 2001 From: Jessica Pixel Date: Mon, 17 Nov 2014 14:27:50 -0500 Subject: [PATCH] Create Random color on rez.lsl --- General/Random color on rez.lsl | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 General/Random color on rez.lsl diff --git a/General/Random color on rez.lsl b/General/Random color on rez.lsl new file mode 100644 index 0000000..e226f48 --- /dev/null +++ b/General/Random color on rez.lsl @@ -0,0 +1,21 @@ +vector color; + +RandomColor() +{ + color = (); +} + +default +{ + on_rez(integer start_param) + { + RandomColor(); + llSetColor(color, ALL_SIDES); + } + + state_entry() + { + RandomColor(); + llSetColor(color, ALL_SIDES); + } +}