Faminu Sojourner
Buttons aren't toys
Join date: 1 Oct 2004
Posts: 138
|
12-01-2004 22:54
I am new to scripting, trying to learn it the hard way... Currently working on a project that would allow a random number generator (have that part) choose a couple numbers and then temporarily rez a prim item associated with the numbers drawn (each). I am stuck on the association of the numbers from the generator as well as the rezzing part. For testing I am using 3 items, but the actual item will have many more. I am using a prim box with the script and one of each 3 prim items inside. If anyone can help or point me in a good direction I would appreciate it and pay for any work done. I have read all the LSL scripting stuff and my brain just doesnt want to work it out. Thanks 
|
blaze Spinnaker
1/2 Serious
Join date: 12 Aug 2004
Posts: 5,898
|
12-01-2004 22:58
list l=["itemName1", "itemName2", "..", "itemNameN"]; llRezObject(llList2String(l, (integer)llFRand(3)), llGetPos(), ZERO_VECTOR, ZERO_ROTATIOn, 0);
Will randomly rez an object named from the above list.
_____________________
Taken from The last paragraph on pg. 16 of Cory Ondrejka's paper " Changing Realities: User Creation, Communication, and Innovation in Digital Worlds : " User-created content takes the idea of leveraging player opinions a step further by allowing them to effectively prototype new ideas and features. Developers can then measure which new concepts most improve the products and incorporate them into the game in future patches."
|
Faminu Sojourner
Buttons aren't toys
Join date: 1 Oct 2004
Posts: 138
|
12-01-2004 23:08
LOL that is too easy...
Thanks blaze will try that.
|