Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

randomizing values

Domneth Dingson
Registered User
Join date: 20 Nov 2006
Posts: 126
07-29-2007 11:29
I'd like to be able to randomize values (many uses, but on my current particular project - vector positions).

How is the easiest way to do this? I had someone tell me using a | between values would do it, but then it just always takes the first value instead of randomizing.
White Hyacinth
Registered User
Join date: 15 Nov 2006
Posts: 353
07-29-2007 11:36
Use llFrand.

Hehehe, this function is causing a lot of problems at the moment :)

But of course there are many more ways to get a random number...
Domneth Dingson
Registered User
Join date: 20 Nov 2006
Posts: 126
07-29-2007 23:21
Thank you, I'll give this a try. If anyone has a different idea, I'd love to hear that as well.



~Dom
RJ Source
Green Sky Labs
Join date: 10 Jan 2007
Posts: 272
07-30-2007 06:23
If you have a list of values and just want to mix them up, you can also use:
http://rpgstats.com/wiki/index.php?title=LlListRandomize