Jump to content

Search the Community

Showing results for tags 'script'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • People Forum
    • Your Avatar
    • Make Friends
    • Lifestyles and Relationships
    • Role Play
    • General Discussion Forum
    • Forums Feedback
    • Missed Connections
    • Second Life Education
  • Places and Events Forum
    • Favorite Destinations
    • Upcoming Events and Activities
    • Games in Second Life
  • Official Contests, Events & Challenges
    • Challenges
    • Leap Into Love Snapshot Contest
  • Creation Forum
    • Fashion
    • Art, Music and Photography
    • Animation Forum
    • Bakes on Mesh
    • Environmental Enhancement Project
    • Machinima Forum
    • Building and Texturing Forum
    • Mesh
    • LSL Scripting
    • LSL Library
    • Experience Tools Forum
    • Sansar for Second Life Residents
  • Technology Forum
    • Second Life Server
    • Second Life Viewer
    • Second Life Web
    • General Second Life Tech Discussion
  • Commerce Forum
    • Merchants
    • Inworld Employment
    • Wanted
  • Land Forum
    • General Discussion
    • Mainland
    • Linden Homes
    • Regions for Sale: Full Private Island
    • Region for Rent: Full Private Island
    • Regions for Sale: Homesteads
    • Region Rentals: Homestead
    • Parcels for Sale: Mainland
    • Parcels for Rent: Mainland
    • Wanted: Full Private Island
    • Wanted: Homesteads
    • Wanted: Mainland
  • International Forum
    • Deutsches Forum
    • Foro en español
    • Forum in italiano
    • Forum français
    • 日本語フォーラム
    • 한국어 포럼
    • Fórum em português
    • Forum polskie
    • المنتدى العربي
    • Türkçe Forum
    • Форум по-русски
  • Adult Content Forum
    • Highlight Upcoming Events
    • General Discussion
    • General Announcements
  • Answers
    • Abuse and Griefing
    • Account
    • Avatar
    • Creation
    • Inventory
    • Getting Started
    • Controls
    • Land
    • Linden Dollars (L$)
    • Shopping
    • Technical
    • Viewers
    • Everything Else
    • International Answers

Blogs

  • Commerce
  • Featured News
  • Inworld
  • Tools and Technology
  • Tips and Tricks
  • Land
  • Community News

Categories

  • English
  • Deutsch
  • Français
  • Español
  • Português
  • 日本語
  • Italiano
  • Pусский
  • Türkçe

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


About Me

Found 285 results

  1. Hello, I need your help. I've this script and I need to modify in order to allow it to split a 100% percentage to another avatar. The point is that this script opens a menu window that makes it possible to buy the item as a gift, for this reason I can't use a simple vendor script with the percentage split. I copy the script here. Can anyone please modify it for me? I really can't make it work. I'd like to reward the first one that will make it work, so please contact me inworld ( NymphaeaMK Resident ) or specify your name inworld and I'll be glad to offer you 50 L$ Thank you in advance for your help. xxx Nym //STRINGS string sBUTTON_BUY = "BUY NOW"; string sBUTTON_GIFT = "SEND AS GIFT"; string sBUTTON_INFO = "INFORMATION"; string sMESSAGE_BUY = "Right click this vendor and click pay to buy this product."; string sMESSAGE_BUY_SUCCESS = "Item successfully delivered!"; string sMESSAGE_GIFT = "Enter the full name of the recipient in local chat."; string sMESSAGE_GIFT_SUCCESS = "Item successfully delivered to the recipient "; string sMESSAGE_INFO = "Notecard is being sent."; string sMESSAGE_BUY_FOR_GIFTED = "Avatar found. Right click this vendor and click pay to send this item now."; string sDIALOGMESSAGE = "Please choose:"; string sERROR = "Name not found!"; //Name2key-error. float fTIMEOUT_RESERVED = 60; //Seconds before time out. float fTIMEOUT_NAME2KEY = 30; //Seconds before name2key times out. string sTIMEOUT = "Timed out."; vector vRESERVED_COLOR = <1.0, 1.0, 1.0>; float fRESERVED_ALPHA = 1.0; string sRESERVED = "Vendor is in use."; integer iCHANNEL_NAME2KEY = PUBLIC_CHANNEL; integer iCHANNEL_DIALOG = -4787644; string sINVALID_AMOUNT = "Invalid amount!"; dialog(key kAvatar) { llDialog(kAvatar, sDIALOGMESSAGE, [sBUTTON_BUY, sBUTTON_GIFT, sBUTTON_INFO], iCHANNEL_DIALOG); } string sPURCHASE_IM = " just bought "; string sPURCHASE_IM2 = " at a price of "; string sPURCHASE_IM3 = " L$ in region "; ownerPurchaseIM(string sItemname, string sAvatarname) { //Send IM to owner. string sPrice = (string)((integer)llGetObjectDesc()); string sSLURL = llGetRegionName() + getSLURLPos(llGetPos()); llInstantMessage(llGetOwner(), sAvatarname + sPURCHASE_IM + sItemname + sPURCHASE_IM2 + sPrice + sPURCHASE_IM3 + sSLURL); } string getSLURLPos(vector v) { //Returns SL-url-pos. return " (" + (string)((integer)(v.x)) + "," + (string)((integer)(v.y)) + "," + (string)((integer)(v.z)) + ")"; } string sURL = "http://w-hat.com/name2key"; //Name2key url. key reqid; integer iMAXLEN = 100; string sPARAM = "?terse=1&name="; httpdb_load(string sNAME) { //Perform name2key search. reqid = llHTTPRequest(sURL + sPARAM + llEscapeURL(sNAME), [HTTP_BODY_MAXLENGTH, iMAXLEN], "" ); } key kUSER; //Globals. string sGIFTEDNAME; integer iREADY_FOR_PAYMENT = FALSE; key kGIFTED; integer iLISTEN; default { state_entry() { //Request debit-permission from owner. llSetPayPrice(PAY_HIDE, [PAY_HIDE, PAY_HIDE, PAY_HIDE, PAY_HIDE]); llSetTimerEvent(0.0); //Stop timer. llRequestPermissions(llGetOwner(), PERMISSION_DEBIT); } changed(integer change) { //Reset when changing owner. if (change & CHANGED_OWNER) { llResetScript(); } } run_time_permissions(integer perm) { if (perm & PERMISSION_DEBIT) { //Permissions granted, go to state perm. state perm; } } on_rez(integer start_param) { if (!(llGetPermissions() & PERMISSION_DEBIT) || llGetPermissionsKey() != llGetOwner()) { //Permissions invalid. llResetScript(); } } } state perm { state_entry() { //Permissions given. llSetTimerEvent(0.0); //Stop timer. kUSER = NULL_KEY; //Reset key. sGIFTEDNAME = ""; //Reset name. llSetPayPrice(PAY_HIDE, [PAY_HIDE, PAY_HIDE, PAY_HIDE, PAY_HIDE]); llSetText("", vRESERVED_COLOR, fRESERVED_ALPHA); } touch_start(integer total_number) { kUSER = llDetectedKey(0); state inuse; } changed(integer change) { //Reset when changing owner. if (change & CHANGED_OWNER) { llResetScript(); } } } state inuse { state_entry() { //Set up timeout for in-use-state. iREADY_FOR_PAYMENT = FALSE; //Reset ready-flag. kGIFTED = NULL_KEY; //Reset gifted-key. llSetPayPrice(PAY_HIDE, [(integer)llGetObjectDesc(), PAY_HIDE, PAY_HIDE, PAY_HIDE]); llSetTimerEvent(fTIMEOUT_RESERVED); llSetText(sRESERVED, vRESERVED_COLOR, fRESERVED_ALPHA); llListenRemove(iLISTEN); iLISTEN = llListen(iCHANNEL_DIALOG, "", kUSER, ""); dialog(kUSER); } listen(integer channel, string name, key id, string message) { if (channel == iCHANNEL_DIALOG && id == kUSER) { //Correct channel and user. if (message == sBUTTON_BUY) { //Buy-option chosen. llSay(PUBLIC_CHANNEL, sMESSAGE_BUY); } else if (message == sBUTTON_GIFT) { //Gift-option chosen. state name2key; } else if (message == sBUTTON_INFO) { //Info-notecard-option chosen. if (llGetInventoryNumber(INVENTORY_NOTECARD) > 0) { llGiveInventory(kUSER, llGetInventoryName(INVENTORY_NOTECARD, 0)); llSay(PUBLIC_CHANNEL, sMESSAGE_INFO); } } } } touch_start(integer num_detected) { if (llDetectedKey(0) != kUSER) { //Error message (non-user). llRegionSayTo(llDetectedKey(0), PUBLIC_CHANNEL, sRESERVED); } else { //Dialog. dialog(kUSER); } } money(key id, integer amount) { string sItem; if (amount != (integer)llGetObjectDesc()) { //Invalid amount! llTransferLindenDollars(id, amount); llSay(PUBLIC_CHANNEL, sINVALID_AMOUNT); return; } else { if (llGetInventoryNumber(INVENTORY_OBJECT) > 0) { //Give item. sItem = llGetInventoryName(INVENTORY_OBJECT, 0); llGiveInventory(kUSER, sItem); } llSay(PUBLIC_CHANNEL, sMESSAGE_BUY_SUCCESS); ownerPurchaseIM(sItem, llKey2Name(kUSER)); state perm; //Return to state perm. } } timer() { //Time's up for user. Go back to state perm. state perm; } changed(integer change) { //Reset when changing owner. if (change & CHANGED_OWNER) { llResetScript(); } } } state name2key { state_entry() { //Setting up listener for name2key-query. iREADY_FOR_PAYMENT = FALSE; //Reset ready-flag. kGIFTED = NULL_KEY; //Reset gifted-key. llListen(iCHANNEL_NAME2KEY, "", kUSER, ""); llSetPayPrice(PAY_HIDE, [PAY_HIDE, PAY_HIDE, PAY_HIDE, PAY_HIDE]); llSetTimerEvent(fTIMEOUT_NAME2KEY); llSay(PUBLIC_CHANNEL, sMESSAGE_GIFT); } listen(integer channel, string name, key id, string message) { if (channel == iCHANNEL_NAME2KEY && id == kUSER) { //User said name. sGIFTEDNAME = message; httpdb_load(sGIFTEDNAME); } } money(key id, integer amount) { string sItem; if (!iREADY_FOR_PAYMENT) { //Not ready for payment. return; } else { if (amount != (integer)llGetObjectDesc()) { //Invalid amount! llTransferLindenDollars(id, amount); llSay(PUBLIC_CHANNEL, sINVALID_AMOUNT); return; } else { if (llGetInventoryNumber(INVENTORY_OBJECT) > 0) { //Give item. sItem = llGetInventoryName(INVENTORY_OBJECT, 0); llGiveInventory(kGIFTED, sItem); } llSay(PUBLIC_CHANNEL, sMESSAGE_GIFT_SUCCESS + sGIFTEDNAME); ownerPurchaseIM(sItem, llKey2Name(kUSER)); state perm; //Return to state perm. } } } timer() { //Timeout of name2key (user did not enter name in chat, or name2key did not return a result). llSay(PUBLIC_CHANNEL, sTIMEOUT); state inuse; } changed(integer change) { //Reset when changing owner. if (change & CHANGED_OWNER) { llResetScript(); } } http_response(key id, integer status, list meta, string body) { //Response from Name2Key-request. if (id == reqid) { reqid = NULL_KEY; if((key)body == NULL_KEY) { //No key found. llSay(PUBLIC_CHANNEL, sERROR); } else { //Key found. llSetPayPrice(PAY_HIDE, [(integer)llGetObjectDesc(), PAY_HIDE, PAY_HIDE, PAY_HIDE]); llSay(PUBLIC_CHANNEL, sMESSAGE_BUY_FOR_GIFTED); kGIFTED = (key)body; iREADY_FOR_PAYMENT = TRUE; } } } }
  2. My boyfriend and I are starting a club, however any time we leave scripts will stop working. Rezzers won't work, games stop functioning, basically anything with a script in it dies until we log back in. Obviously we need to know how to fix this. We don't have anything set to group only and we have scripts enabled on the parcel. Please help!
  3. float sun_height;vector sun_position; default{ state_entry() { llSetTimerEvent(150); } timer() { sun_position = llGetSunDirection(); sun_height = sun_position.z; if(sun_height < 0.0) { llSetPrimitiveParams([PRIM_POINT_LIGHT,TRUE,<1.0, 1.0, 1.0>,1.0,15,0.750, PRIM_GLOW, ALL_SIDES, 0.4]); } else { llSetPrimitiveParams([PRIM_POINT_LIGHT,FALSE,<1.0, 1.0, 1.0>,1.0,15,0.750, PRIM_GLOW, ALL_SIDES, 0.0]); } }} float glow;float time; //------------------------------------- // Main program default { state_entry() { llSetColor(<1.0, 1.0, 1.0>, ALL_SIDES); state begin; }} //------------------------------------- // Begin state state begin { state_entry() { glow = (integer) llRound(llFrand(1)); // Random on or off time = (float) llFrand(2); // Random wait time llSetPrimitiveParams([PRIM_POINT_LIGHT, TRUE, <1.0, 1.0, 1.0>, glow, 5.0, 0.5, PRIM_GLOW, ALL_SIDES, glow]); // Set prim light on/of state wait; // Go to the Wait State } } //------------------------------------- // Wait state state wait { state_entry() { llSetTimerEvent(time); //Wait } timer() { llSetTimerEvent(0.0); //remove the timer state begin; // Go back to the Begin State } }
  4. I need a couple of new scripts for a WIP. Maybe they already exist and I just haven't found them yet, or maybe I need something from scratch. Here's the project needs: 1. lighting: I have a linked set that needs multiple faces (on each set) to light up and some to glow on touch (and shut off again on touch). I want only one touch on the object to control the whole thing. 2. texture changer: I have a texture changer that allows for the change of individual faces, but i want all of the faces to change at once. for 3 separate themes. They won't look good to mix and match, I think. I don't know if they'll need to be on the same script, since both operate by touch, or if a hud would be needed for the texture change, so it doesn't affect the light switch. please contact me by IM in-world, here, or email at ellieannesilverfall@gmail.com if you are interested.
  5. Hello, I am Tomix, and I am new to scripting LSL. I was wondering how I would be able to create a touch limit on an Object. The Limit being one, I already have the object playing a sound and increasing a count by one per click, sort of like signing a guestbook. vector color = <0.5, 1.0, 1.0>; string default_text = "//default_text// \n "; string text; string sound1 = "sound1"; //uuid or name of item in inventory string sound = "sound"; //uuid or name of item in inventory integer count=0; default { state_entry() { text = default_text; llSetText(text, color, 1.5); llTargetOmega(<0,0,.2>,PI,1.0); } touch_start(integer total_num) { llTriggerSound(sound1, 2.0); llTriggerSound(sound, 2.0); } touch_end(integer number) { count = count + 1; text = (string)count + "//new_text// \n"; llSetText(text, color, 1.5); } }
  6. Estoy en busqueda de alguien que se conecte seguido, y trabaje con script, ya que soy diseñadora de items y objetos del market place, y necesito alguien que pueda colaborar con mis proyectos me gustaría saber precios por script y eso, si alguien esta interesado, comuníquese conmigo los requisitos son : basicamente cosas de apuntar y disparar como lo son las armas, y la creacion de efectos de disparo, crear un sistema facil de editar script para puertas corredizas u otros... de ese nivel.
  7. Hi everyone. There are fullperm lights in the lantern you have seen in the picture below. How can we open this light that is separate from the lantern. I want you to open it with the touch of a lantern. Please help in this regard.
  8. I have a mountain tram and found an excellent script to get it up the mountain. The problem is that before it begins moving, the whole tram flips 90 degrees on its side and 180 degrees around so that is goes up the mountain sideways and backwards. I am new at this and I do not know what to do. Here is the script integer direction; integer curPoint; list points; string route; integer nextStation =-1; integer isPaused; float OFFSET=0; float SPEED = 1.75; //meters /second vector INITROTATION=<0,0.0>; float WATERHEIGHT = 20.05; integer channel = -9453; list messages; list delays; list messageTimes; integer curMessage; beginRoute(list points) { llSetKeyframedMotion( [], []); //llSetRot(ZERO_ROTATION); llSleep(0.3); messageTimes = []; curMessage = 0; OFFSET=(float)llGetObjectDesc(); vector pos = llList2Vector(points,0); llSetRegionPos(pos); llSetRot(llEuler2Rot(INITROTATION)); rotation rot = llEuler2Rot(INITROTATION); integer i; list kf; float totTime =0; messageTimes = []; for (i=0; i < llGetListLength(points); i++) { vector v = llList2Vector(points, i); rotation r2 = llEuler2Rot(INITROTATION); if (i < llGetListLength(points)-1) { vector vn = llVecNorm(llList2Vector(points, i+1) - v); // break rotation in 2 parts: along Z, then along the rest. llRotBetween would turn the train upside-down vector v2 = vn; v2.z =0; rotation r2a = llRotBetween(<1,0,0>, v2); // Rotation along the Z axis only rotation r2b = llRotBetween(<1,0,0>*r2a, vn); r2 = r2a*r2b; //llRotBetween(<1,0,0>,vn); } else { r2 = rot; //v.y -= OFFSET; // boat Parking offset } vector cor = llRot2Euler(r2); if (cor.x == -PI) cor.x = PI; //cor.x=0; // Remove any rotation around X r2 = llEuler2Rot(cor); float t; if (i>0) { kf += (1.0)*(v-pos); kf += ZERO_ROTATION; t = llVecMag(v-pos)/SPEED; //adjust for speed kf += t*(1.0); rotation myrot = llRotBetween(<1,0,0>*rot, <1,0,0>*r2); kf += ZERO_VECTOR ; kf += r2 / rot; // myrot; //llEuler2Rot(<0,cor.y,0>); kf += .5; } else // the zero-th frame is just a rotation { kf += ZERO_VECTOR; kf += (r2/rot); kf += 2; //adjust for speed t = 2; } kf += ZERO_VECTOR; kf += ZERO_ROTATION; float delay = llList2Float(delays, i); kf += delay; //adjust for speed t += delay; totTime+= t; pos = v; rot = r2; messageTimes += (t+1 ); } //llLoopSound("paddle", 1.0); llSetKeyframedMotion( kf, [KFM_DATA, KFM_TRANSLATION|KFM_ROTATION, KFM_MODE, KFM_PING_PONG]); llMessageLinked(LINK_SET, 0, "START", ""); llStopSound(); llSleep(.1); llLoopSound("train", 1.); } doStop() { isPaused = !isPaused; if (isPaused) llSetKeyframedMotion( [], [KFM_COMMAND, KFM_CMD_PAUSE]); else llSetKeyframedMotion( [], [KFM_COMMAND, KFM_CMD_PLAY]); if (isPaused) { llMessageLinked(LINK_SET, 0, "STOP", ""); llStopSound(); } else { llMessageLinked(LINK_SET, 0, "START", ""); llLoopSound("train", 1.); } } default { state_entry() { llSitTarget(ZERO_VECTOR, ZERO_ROTATION); llListen(channel,"", "",""); llMessageLinked(LINK_SET, 0, "STOP", ""); } listen(integer chan, string n, key sender, string cmd) { if (cmd == "Pause/Cont") { doStop(); } else if (cmd == "PANIC") { llSetKeyframedMotion([], []); llStopSound(); llSetTimerEvent(0); } else if (cmd == "Reset11") { list lines = llParseString2List(osGetNotecard("route"), ["\n"], []); integer j=0; { list tk = llParseString2List(llList2String(lines,j), ["|"], []); vector p= llList2Vector(tk,0); // llSay( 0, (string)p); llSetRegionPos(p); llSetRot( llEuler2Rot(INITROTATION)); } } else if (cmd == "Reset") { list lines = llParseString2List(osGetNotecard("route"), ["\n"], []); integer j; points = []; delays = []; messages = []; for (j=0; j < llGetListLength(lines); j++) { list tk = llParseString2List(llList2String(lines,j), ["|"], []); points += llList2Vector(tk,0); delays += llList2Float(tk,1); messages += llList2String(tk,2); } beginRoute(points); } } touch_start(integer n) { if (llDetectedKey(0) == llGetOwner()) llDialog(llDetectedKey(0), "Select", ["Reset", "Pause/Cont", "PANIC", "CLOSE"], channel); } changed(integer change) { if (change & CHANGED_LINK) { integer i; for (i=2; i < llGetNumberOfPrims(); i++) if (llAvatarOnLinkSitTarget(i) != NULL_KEY) // llGetNumberOfPrims() > llGetObjectPrimCount(llGetKey())) { llSetTimerEvent(2); // llOwnerSay("Seated"); return; } { //else llSetTimerEvent(0); } } } timer() { integer i; for ( i=0; i < llGetListLength(points); i++) { if (llVecDist(llGetPos(), llList2Vector(points,i))< 7) { // llOwnerSay("PT = "+i); if (i != nextStation) { string s = llList2String(messages, i); if (s != "") { llWhisper(0 , "/me <<" +s+ ">>"); llTriggerSound("dingdong", 1.0); } nextStation = i; return; } } } } }
  9. Hello, I am looking for a long-term employment for a script writer to write code and PHP for a new breeable in SL. Please only apply if you are looking for a long-term commitment please. I have items ready to script and test. If you are interested, please send me a notecard with your information in Second Life to: Markphoto Resident ( Markcus Williams ) Thanks…
  10. Friday: 4pm to 6pm Friday Night Dance Party. Saturday: 7am Make an AO Class. 8am Intermediate Building Class- make a flying pedal vehicle. 11am to 1pm DJ Blue Party. Sunday: 7am Scripting Class- Physics. 8am to 10am Breakfast Club. 12pm to 2pm DJ Tim Party. All classes are free and held in sandbox unless otherwise stated on class notices. More details at http://helpinghaven.weebly.com http://maps.secondlife.com/secondlife/Helping%20Haven%20Gateway/42/52/25
  11. Hello, How do i loop the llSetKeyFrameMotion i am trying to script elevator which is meant to move from 0 to 500 m smooth moving but finding hard to make it reach there. its either going above 1000m or not. here is the link was following the script.of course i was using the KFM_FORWARD http://wiki.secondlife.com/wiki/User:Dora_Gustafson/Harmonic_Oscillator_motion thank you.
  12. Friday: 4pm to 6pm Friday Night Dance Party. Saturday: 7am Hosting Class. 8am Introduction to Building Class. 11am to 1pm DJ Hippie Party. Sunday: 7am Scripting Class- Rotations 12pm to 2pm DJ Tim Party. All classes are free and held in sandbox unless otherwise stated on class notices. More details at http://helpinghaven.weebly.com http://maps.secondlife.com/secondlife/Helping%20Haven%20Gateway/42/52/25
  13. Hello! Anyone know where to get Openstage Script for DJ with full permission? Please, help!
  14. We have developed a new table game in SL and are looking for individuals to create trivia content with associated sound files for the game. You would need to source trivia questions & answers, let's say it is music, you find question with 4 possible answers, then you would need to source a sound file (song clip), record it and save as a wav file for importing to SL, then create a question/answer nc following a specific scheming format. If you think you would be interested, please contact shane Foresight or Kaijah Chrome. The salary is based on 20 question/answer/sound files, once verified all is correct you will be paid. Once content has been tested and verified to be correct, you would be paid 100L per 20 question card. If you want to do 1 and be done all good. If you want to do more and keeping going, all good. Amount of content provided is solely up to you! Please contact me, Kaijah Chrome or shane Foresight if you are interested. Thank you! Kaijah
  15. Friday: 4pm to 6pm Friday Night Dance Party with DJ TarzanTom. Saturday: 7am DJ Class. 8am Introduction to Building Class. 11am to 1pm DJ Hippie Party. Sunday: 7am Learning to Script Class- Sensor and Collision. 12pm to 2pm Halloween Party with DJ Tim. All classes are free and held in sandbox unless otherwise stated on individual class notices. More details at: http://helpinghaven.weebly.com http://maps.secondlife.com/secondlife/Helping%20Haven%20Gateway/42/52/25
  16. Hello. I'm still pretty new to SL and to any type of building or scripting, so I apologize if this is somewhat of an amateur question...or even a scripting question for that matter, but I'm wondering if there is a way essentially insert a landmark in an object. I know there are numerous methods to TP from point to point within a sim, but is there a way to "script" an object to connect to another sim by touch or by walking into it...or even to offer multiple favorite sims via a menu or the like? For example, and this might be TMI, but a little background....I own a land-locked parcel that I wanted to place some vehicles on. Aesthetically, it looked a little strange for vehicles to have "no where to go", so I added a tunnel to give the appearance of the possibility of travel beyond the ban lines. But it got me thinking if there was a way to use the tunnel as an actual teleport to another sim or sims. Anyway, thanks for any advice.
  17. Excuse me for my English, I use a translator I would like to have changed in this script the ONLY group members( with the right grouptag) can buy by coins (g & s currency) one has the group does not come * sorry wrong group the script ( i now that the script works whit a ather script the API Coins(RP-HUd) script) _____________________________________________________________________________________ // Put this script in same prim as the API Coins (RP-HUD [G&S]) // ** Price in G&S Coins integer PVP = 100 ; // ** Price in L$ integer PL = 1 ; string nom_obj; integer active = FALSE; display() { integer cnt = llGetInventoryNumber( INVENTORY_OBJECT ); active = cnt>0; if(active){ llSetText (" " +(string) PVP+" G&S Coin \nor L$"+(string)PL+"\nAvailable: "+(string)cnt, <1,1,1>, 1); llSetObjectName("G&S Vendor: " +llGetInventoryName(INVENTORY_OBJECT,0)); }else{ llSetText("** Empty **", <1,1,1>, 1); } } default { state_entry() { llSetPayPrice(-1,[PL,-1,-1,-1]); llRequestPermissions(llGetOwner(),PERMISSION_DEBIT); } run_time_permissions(integer perm) { if (perm&PERMISSION_DEBIT) { display(); } } touch_start(integer num_detected) { if(active){ llMessageLinked(LINK_SET, 700, llGetInventoryName(INVENTORY_OBJECT,0)+","+(string)PVP,llDetectedKey(0)); } } link_message(integer sender_num, integer num, string str, key id) { if(num == 701){ llSay( 0 , "Thank you for your purchase: "+llGetInventoryName(INVENTORY_OBJECT,0)+" delivered to "+llKey2Name(id) ); llGiveInventory( id, llGetInventoryName(INVENTORY_OBJECT,0) ); display(); } if(num == 702){ llSay( 0 , "Vendor is being used by: "+str ); } } changed(integer change){ if (change & CHANGED_INVENTORY){ display(); } } money(key id, integer amount) { if (active && amount==PL) { llSay( 0 , ""+llGetInventoryName(INVENTORY_OBJECT,0)+""+llKey2Name(id) ); llGiveInventory( id, llGetInventoryName(INVENTORY_OBJECT,0) ); display(); } else if (amount) { llInstantMessage(id,"There was something wrong with your payment. Your money will be refunded."); llTransferLindenDollars(id,amount); } } transaction_result(key id, integer success, string data) { if (success) llWhisper(0,"Payment refunded"); else llInstantMessage(llGetOwner(),"Refund failure: "+llKey2Name(llList2Key(llParseString2List(data,[","],[]),0))+" "+data); } } ______________________________________ Thank you
  18. Saturday: 7am Make an AO Class. 8am Intermediate Building Class- Make a flying saucer. 11am to 1pm DJ Blue Party on the beach. Sunday: 7am Learning to Script Class- Sit Animation. 12pm to 2pm DJ Tim Party. All classes are free and held in the sandbox unless otherwise stated on individual class notices. More details at http://helpinghaven.weebly.com http://maps.secondlife.com/secondlife/Helping%20Haven%20Gateway/42/52/25
  19. Hello everyone, I need a giver script if anyone can help me, I would be very grateful. the gover script should work as follows there are 2 objects the giver and the activator . For the giver object send the item to the character you need to REZZ the activator next to the giver object and click on the giver object then the activator dies and the giver object sends you an item. but I wish it were possible to create combinations of activators: For example You rezz 2 activating items on the floor with different names. activated 1 + activator 2 and you earn an item based on this combination if the combination does not exist, for example activator 1 + activator 9 should send a message as an invalid match.
  20. Hi we need a scripter who knows about RLV ... Please IM me Trish Firehawk (trish.felicci) or myh husband, Weazel Firehawk
  21. Hello! So i'm trying to create a prim baby but I don't know wich programs I should use to create them with, I already have blender and makehuman but I'm not completly sure if it will work with the game, I need to find a script too, so if anyone has experience with prim babies please help !
  22. Hello! I'm looking for a script to simulate the work of the loudspeakers. I managed to find two scripts that move the object forward backward. But they do not work on linked objects. I decided to try a method with texture animation. Question is how this script should look like slightly stretching - reducing the picture (speaker)? Please help! llSetTextureAnim(ANIM_ON | SMOOTH | SCALE | PING_PONG | LOOP, ALL_SIDES, 1, 1, 1.0, 3.0, 2.0); As I understand there must be this line. And I can not make it the on / off. integer textureIsBeingAnimated; default { touch_start(integer num_detected) { if (textureIsBeingAnimated) llSetTextureAnim(ANIM_ON | LOOP, ALL_SIDES, 1, 5, 0.0, 0.0, 1.0); else llSetTextureAnim(ANIM_ON | SMOOTH, ALL_SIDES, 1, 5, 5.0, 1.0, 1.0); // toggle back and forth between TRUE (1) and FALSE (0) textureIsBeingAnimated = !textureIsBeingAnimated; } }
  23. Hello! I already try to make a script texture applier for a mesh object, event with a hud, the thing is that for that I want just to drop the script into the mesh item and get working with the hud (Which I already did and it works) BUT, I want to know if there's a way that the script can be protect only on the mesh item that I want it to be applier even when I'm not the cerator of that. I put a screen of what I try to saying. This is a script mod for a head, of course, who make the script is nor the owner of the head, and the head doesn't comes with developer's kit, however it's protect for the fact that it can't be applier in another object.
  24. How do I avoid releasing particles when running llSay? Thank you.
  25. I have a tower that I just built and I wanted to do sort of a revolving restaurant thing with one of the floors. I was told in a general conversation at an info hub that things that revolve like for sale signs are not allowed. I cannot seem to find a reference. Many of you are much more learned than I. Can someone tell me if revolving objects are allowed on your property. PS This is mainland property.
×
×
  • Create New...