Jump to content

chris21ce

Resident
  • Posts

    10
  • Joined

  • Last visited

Reputation

0 Neutral

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. I did search but if you notice you will see they are groups! I can't join groups they are private and no regions show
  2. I am in search for the byngo bonus which is bingo in second life Does anyone know any sims which have it or where I can buy it? When I search in dashboard all I get is private groups no sims or anything
  3. I am getting a new computer due to my laptop having bad lag on Second Life. I have decided to buy a desktop and have found some great ones but out of all the ones I have found which do you think is best? I want a lag free second life. My internet is great its just the computer. Which will be 100% best. Thank You Option 1 HP 110-303NA CPU and Memory: Intel Pentium dual core.G2030T.Processor speed 2.6GHz.8GB RAM.Hard drive: 1000GB SATA hard drive.DVD optical drives: Dual layer.Graphics: Shared graphics.Intel HD GraphicsOption 2 Intel Core i3 4160 3.6GHz CPU8GB DDR3 MemoryAsus B85M-G MotherboardNVIDIA GeForce GTX 750 Ti1000GB Hard DriveOption 3 AMD FX 4350 4.2GHz CPU8GB DDR3 MemoryAsus M5A78L-M/USB3 MotherboardNVIDIA GeForce GTX 750 Ti1000GB Hard Drive If you would go for option 2 or option 3 which will be best out of these? Intel Core i3 4160 3.6GHz CPUAMD FX 4350 4.2GHz CPU
  4. I have been on them links before hence the fast response so lets say my script is // Simple Multipage Menu -- Rolig Loon -- August 2013 // The Menu routine in this script will parse your input list (gNames) into menu pages // of 12 buttons each, including a forward button and a back button, as appropriate. // It generates a page's buttons on demand, so that the list of button labels is // never more than 12 items long. // It does NOT trim potential menu items to fit the 25-character limit (or the // 12-character display limit), nor does it sort buttons or do other fancy things // that you are free to add for yourself. list gNames = ["HostileDel","Stomp","Modify...","Deleted","Incompatible","Elements...","What...","We Obey", "Vis-Link","VisContact","Universe","Units","Obvious","Correct","Compatible","Chamber","Species","MaximumDel", "Identify","Identified","How many","DestroyCyb","Delete","DeclareWar","Investigate","Consider"]; // Your list of potential menu choices integer gMenuPosition; // Index number of the first button on the current page integer gLsn; // Dialog Listen Handle Menu() { integer Last; list Buttons; integer All = llGetListLength(gNames); if(gMenuPosition >= 9) //This is NOT the first menu page { Buttons += " <----"; if((All - gMenuPosition) > 11) // This is not the last page { Buttons += " ---->"; } else // This IS the last page { Last = TRUE; } } else if (All > gMenuPosition+9) // This IS the first page { if((All - gMenuPosition) > 11) // There are more pages to follow { Buttons += " ---->"; } else // This IS the last page { Last = TRUE; } } else // This is the only menu page { Last = TRUE; } if (All > 0) { integer b; integer len = llGetListLength(Buttons); // This bizarre test does the important work ...... for(b = gMenuPosition + len + Last - 1 ; (len < 12)&&(b < All); ++b) { Buttons = Buttons + [llList2String(gNames,b)]; len = llGetListLength(Buttons); } } gLsn = llListen(-12345,"","",""); llSetTimerEvent(10.0); llDialog(llGetOwner()," \n",Buttons,-12345); } default { touch_start(integer num) { llListenRemove(gLsn); gMenuPosition = 0; Menu(); } listen(integer channel, string name, key id, string msg) { llListenRemove(gLsn); llSetTimerEvent(0.0); if (~llSubStringIndex(msg,"---->")) { gMenuPosition += 10; Menu(); } else if (~llSubStringIndex(msg,"<----")) { gMenuPosition -= 10; Menu(); } else { //Do whatever the selected button directs..... your choice } } timer() { llSetTimerEvent(0.0); llListenRemove(gLsn); } } Now my script lets me list things on the menu easily however it will not play the sounds I have put in whereas my starter script displayed 22 sounds and a menu all I want is 50 sounds maximum this script is not as easy as the one I had before!
  5. Thanks I have visited them links and its making my script worse so I am back where I have started has anyone got any other ideas?
  6. I have made a script for a hud it displays up to 22 sounds my question is how can I make it display up to 50 sounds? Or even unlimited sounds? Here is my script can anyone help me out here? Thanks //Drop this script into an object with up to 22 sound files inside. //When anyone Touches they will get a menu with all the sounds available. Button names in menu will be first 10 characters from that item's name. //NOTE: Sound Names may not exceed 25 characters or script error and menu fails. float volume = 1.0; //1.0 is full volume, .5 is half volume, etc. list sound_list; list sound_list2; key user = NULL_KEY; composelist() { integer currentsound = 0; integer totalsounds = llGetInventoryNumber(INVENTORY_SOUND); if(totalsounds > 0 & totalsounds <= 12) { sound_list = []; do { sound_list = sound_list + llGetInventoryName(INVENTORY_SOUND, currentsound); currentsound++; } while (currentsound > 0 & currentsound < totalsounds); } if(totalsounds > 12 & totalsounds <= 22) { sound_list = ["Next Page"]; do { sound_list = sound_list + llGetInventoryName(INVENTORY_SOUND, currentsound); currentsound++; } while (currentsound > 0 & currentsound < 11); sound_list2 = ["Last Page"]; do { sound_list2 = sound_list2 + llGetInventoryName(INVENTORY_SOUND, currentsound); currentsound++; } while (currentsound >= 11 & currentsound < totalsounds); } if(totalsounds > 22) { llWhisper(0, "You may only have a maximimum of 22 Sounds. Please remove any extra ones."); } if(totalsounds == 0) { llWhisper(0, "Please add up to 22 Sounds."); } } //The Menu integer menu_handler; integer menu_channel; menu(key user,string title,list sound_list) { menu_channel = (integer)(llFrand(99999.0) * -1); //random channel menu_handler = llListen(menu_channel,"","",""); llDialog(user,title,sound_list,menu_channel); llSetTimerEvent(30.0); //menu channel open for 30 seconds } default { state_entry() { composelist(); //make list from inventory sounds } touch_start(integer total_number) { user = llDetectedKey(0); menu(user,"\n\nPlease select one below.",sound_list); } listen(integer channel,string name,key id,string message) { if (channel == menu_channel) { llSetTimerEvent(0.0); llListenRemove(menu_handler); if(message == "Next Page") { menu(user,"\n\nPlease select one below.",sound_list2); } else if(message == "Last Page") { menu(user,"\n\nPlease select one below.",sound_list); } else { llPlaySound(message, volume); } } } timer() //Close the Menu Listen or we'll get laggy { llSetTimerEvent(0.0); llListenRemove(menu_handler); } changed(integer change) { if (change & CHANGED_INVENTORY) //inventory has changed { llSleep(0.5); composelist(); //rebuild the list } } }
  7. Hello, Basically I have made a hud with a texture and I am new to scripting. I would like to put in my Hud a menu once clicked it will pop up a menu and I would like the sound names shown on the hud. For example I have a hud I click it and the menu pops up showing all the sounds I can click I click hurray and the hud plays my sound called hurray. once this sound has finished I click the hud again to select another sound to play. If this cant be done can I put the sounds in an object and make the hud play the sounds in that object once worn? Thanks
  8. My event is 24 hours old it doesnt show up on the calendar to delete it but in second life it shows up in search please help me thanks
×
×
  • Create New...