Create 5ish random numbers.lsl

This commit is contained in:
Jessica Pixel
2014-11-17 14:24:57 -05:00
parent 463c1c69e8
commit 1dcc2a3bcf
+19
View File
@@ -0,0 +1,19 @@
integer channel = PUBLIC_CHANNEL;
string message;
integer randomInteger()
{
float randomFloat = llFrand(1.0);
return llCeil(randomFloat * 100000);
}
default
{
touch_start(integer x)
{
message = (string)randomInteger();
//llSay( channel , message );
llSetObjectDesc( message );
}
}