Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Newbie help

Dust Bunin
Registered User
Join date: 29 Sep 2005
Posts: 7
12-05-2005 14:59
Okay, Im making a projector with a simple texture change on touch script, i was wondering if it is possible to add in a next/previous buttons from a freebie vendor? Or is there anything I have to add or change?
CODE
 default
{

touch_start(integer total_number)
{
integer number = llGetInventoryNumber(INVENTORY_TEXTURE);
float rand = llFrand(number);
integer choice = (integer)rand;
string name = llGetInventoryName(INVENTORY_TEXTURE, choice);
if (name != "")
llSetTexture(name, ALL_SIDES);
}
}
Osgeld Barmy
Registered User
Join date: 22 Mar 2005
Posts: 3,336
12-05-2005 18:06
/15/df/69401/1.html