Jump to content

Kennethh Yamdev

Resident
  • Content Count

    20
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Kennethh Yamdev

  • Rank
    Member
  1. BumP Are there even any other builders out there? Seems like SL has gone more to just plain community interactions. Compaired to its orginal counterpart. Come back builders! WE STILL NEED YOU!
  2. Ah that works perfect. I had thought that the same key and name I got for llDialog would have worked but I did not think to set another integer. and I see you mentioned llMoveToTarget - That could work too, Ill slide that in there and see what I think. Probably get the same results but hey, it helps practice.
  3. Greetings. I am having a hard time figuring out how to use llSetRegionPos() in my script. Maybe there is a better way to go about this. But I have it where you click the object and llDialog() menu shows up with names of avatars with in range. I want to set it up so that when the name is clicked the object goes to that persons position. But I cannot figure out what I am doing wrong. The script below I had some help writing and im not pro. I am learning and would say I am a moderate scripter. Any tips of help would be great. :) //menu listener integer listener; integer sensorChannel; // range and arc for the sensor float range = 40.0; float arc = PI; integer i; list avatarsKeys; list avatarsNames; menu(key user,integer channel,string title,list buttons) { listener = llListen(channel,"","",""); llDialog(user,title,buttons,channel); //remove listener if there's no activity in menu llSetTimerEvent(20.0); } integer randomNumber() { return (integer)(llFrand(99999.0) * -1); } default { on_rez(integer somettgh) { llSensor("","",AGENT,range,arc); } touch_start(integer total_number) { //only owner can access the menu if (llDetectedKey(0) == llGetOwner()) { llSensor("","",AGENT,range,arc); } } sensor(integer total_number) { integer i; key tempId; avatarsKeys = []; avatarsNames = []; i = 0; while ((i < total_number) && (i < 12)) { tempId = llDetectedKey(i); avatarsKeys = avatarsKeys + tempId; avatarsNames = avatarsNames + llKey2Name(tempId); i = i+1; } sensorChannel = randomNumber(); menu(llGetOwner(),sensorChannel,"Select an avatar ",avatarsNames); } listen(integer channel,string name,key id,string message) { if (channel == sensorChannel) { integer pos = llListFindList(avatarsNames,[message]); if (pos > -1) { //When person choice is made. Move object to choice llOwnerSay((string) message + " is youre choice."); // llSetRegionPos(); //Need to find out who/where } } } }
  4. Or you can contact me in world and I will share a landmark. Either way
  5. Im not sure if this is the correct spot to post this. I am an old SLer and I am often times building on a sim I admin at and im often bored with no one to talk to while I build. It is a great sandbox I am at. Quiet, Respectable and pretty good with little lag. If you would like to build with me let me know and I will contact you in world with a landmark. So i am just looking for someone to build with. Not on the same projects, just someone to bounce ideas off of or just chat. :)
  6. I spent a good hour checking all my words.... Turned out it was because I uses this symbol... ~
  7. I make lots of things, I do it for fun. Mostly if I see someone attempting to do something I will ask to build them something. Depending on what it is. My current big project I've spent three days (15 hours at least) and I'm still working on it.... Photos are quick, I normally have a sim in mind I will use for background etc. But editing them takes a couple minutes. I've learned how to use gimp pretty good What about you?
  8. :matte-motes-big-grin: Hello, I am currious if any of you animators have made casting magic animations, or if your interested in doing so. Please let me know
  9. Hello! I love to build. Im not a super builder as some are but I strive to do what I imagine to its best. Perhaps I can help you with this project You can message me in game so we can chat one on one or message me here. Either way works I suppose.
  10. I did not know about this one. I will defentally have to check it out and see if I can get it working how I want. Thank you very much for you suggestions and tips!
  11. Would that be done with link_message and all of that family? If so I tried it that way at first and was having the most difficult time.
  12. Here is a picture of my hud i am doing. Please know it is a very late rough draft. So on the right side is the page numbers. Each one you click on and it would "turn the page" and the white bars going across the "page" would be clickable as well. (They would do something.) As for all my commands being on channel zero. That was me just doing it quick so I didnt have to assign them to a channel and figuer out if it was working or not. I plan to change it to a negitive channel later And Profaitchikenz Haiku, that actuall seemed to fix my problem quite a lot..... lol Each of my page scripts had a missing E in the word. WOOPS! ----- The numbers on the side have each one script that simply when clicked llSay to a channel to "ChangeKioPage". So then each white bar has 5 scripts in them each labled Page1, Page2 etc. - In each of those all the scripts are about the same.... default { state_entry() { llListen(0,"","",""); } listen ( integer ch, string nm, key id, string msg) { if(msg == "KioPage5") { llSay(0,"Page 5 Open :: STOP ALL OTHER magics"); llSetScriptState("Page1",FALSE); llSetScriptState("Page2",FALSE); llSetScriptState("Page3",FALSE); llSetScriptState("Page4",FALSE); } if(msg == "KioPage1") { llSetScriptState("Page1",TRUE); } if(msg == "KioPage2") { llSetScriptState("Page2",TRUE); } if(msg == "KioPage3") { llSetScriptState("Page3",TRUE); } if(msg == "KioPage4") { llSetScriptState("Page4",TRUE); } } touch_start(integer total_number) { llSay(0,"page5 magic1"); } } The only difference in each one is -- if(msg =="PAGE") { llSetScriptState("PAGE", TRUE);} -- is for each different page. Im not sure if that makes sense. Im not a super good scripter as you can see. But I am greatful for any help that is given.
  13. :manhappy: thank you for replying. I am going to look more into this for sure. But I had to take one step back in what I was doing. I jumped the gun for sure. lol
  14. I am making a hud. It requires you to click on a page number. Once page number "turned" there are 5 clickables(touch_start) on that page that will function on that page. I am having a problem with all the pages working. I can get page 1 and 2 to "turn" there fine but once i click page 3 it dont do anything. Is there a wait time for each llSetScriptState? (There are 5 pages tottal) The example below is for "page 1" Perhaps there is a easier way to go about this. Suggestions or tips would be great. default { state_entry() { llListen(0,"","",""); } listen ( integer ch, string nm, key id, string msg) { if(msg == "KioPage1") { llSay(0,"Page 1 Open :: STOP ALL OTHER magics"); llSetScriptState("Page2",FALSE); llSetScriptState("Page3",FALSE); llSetScriptState("Page4",FALSE); llSetScriptState("Page5",FALSE); } if(msg == "KioPage2") { llSetScriptState("Page2",TRUE); } if(msg == "KioPag3") { llSetScriptState("Page3",TRUE); } if(msg == "KioPage4") { llSetScriptState("Page4",TRUE); } if(msg == "KioPage5") { llSetScriptState("Page5",TRUE); } } touch_start(integer total_number) { llSay(0,"Page1 Magic1"); } }
×
×
  • Create New...