Jump to content

ChaosRaine

Resident
  • Posts

    70
  • Joined

  • Last visited

Reputation

5 Neutral

Recent Profile Visitors

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

  1. Is there a work around then? Like can I check who owns the item put into the board and delete it if it doesn't match the allowed avatar?
  2. I'm making a board for people to rent and set a picture to the face. I want the renter to ctrl drag a picture into the board's inventory, but I can't figure out to restrict permissions to a single user. Can somebody help me, please?
  3. OMG thank you so much works great! I was tweaking all over the place and just couldn't get it.
  4. I have a script listening to a chat channel. When it hears a word it checks the list for the word. If it's not already on the list, it adds it. I'm having trouble checking the list for the word. Here's what I am doing.
  5. I think that last way is gonna work. Initial tests are good. Thank you both for your help. I tried so many methods of the same command and it just wasn't working correctly.
  6. I'm not trying to rotate the root prim. I'm trying to rotate a child prim when the child prim is clicked. Eventually I want a couple of the child prims to rotate individually when each is clicked. I can obtain the results I want by using separate scripts in each child prim, but I would prefer to use one script in the root.
  7. I have this script which I put into the child prim. It rotates it fine. When I try to use llSetLinkPrimitiveParamsFast in the root prim though, rotates weird. It's like reorienting itself to the axis before it starts the rotations. rotation rot_xyzq; default { state_entry() { vector xyz_angles = <0,0.90,0>; // This is to define a 90 degree change vector angles_in_radians = xyz_angles*DEG_TO_RAD; // Change to Radians rot_xyzq = llEuler2Rot(angles_in_radians); // Change to a Rotation } touch_start(integer s) { llSetRot(llGetRot()*rot_xyzq/llGetRootRotation()/llGetRootRotation()); //Do the Rotation... } }
  8. Sorry it's a bit of a mess and there are unused variables in there. I've been trying a few different ways with the same effect.
  9. I'm have a cylinder that is cut into five pieces I want to rotate those pieces as if there was a stick going the center. I'm using this float y = 90; float yh = 90; integer yt = 90; integer yth = 90; integer One = FALSE; integer Two = FALSE; integer Three = FALSE; integer x; integer t; integer th; float gap = 30.0; rotation rot_xyzs; default { state_entry() { // llSetLinkPrimitiveParamsFast( 5, [PRIM_ROT_LOCAL, llEuler2Rot(<0.0, 0.0 , 0.0>*DEG_TO_RAD)] ); // llSetLinkPrimitiveParamsFast(2, [ // PRIM_ROT_LOCAL, llEuler2Rot(<0, 0, 0>*DEG_TO_RAD)]); // llSetLinkPrimitiveParamsFast(4, [ // PRIM_ROT_LOCAL, llEuler2Rot(<0, 0, 0>*DEG_TO_RAD)]); // llSetLinkPrimitiveParamsFast(5, [ // PRIM_ROT_LOCAL, llEuler2Rot(<0, 0, 0>*DEG_TO_RAD)]) // llSetLinkPrimitiveParamsFast(3, [ // PRIM_ROT_LOCAL, llEuler2Rot(<0, 0, 0>*DEG_TO_RAD)]); } touch_start(integer total_number) { if (llDetectedLinkNumber(0)==5) { //First vector xyz_angles = <y,1.0,1.0>; // This defines a 1 degree change on the Y axis vector angles_in_radians = xyz_angles*DEG_TO_RAD; // Change to radians rot_xyzs = llEuler2Rot(angles_in_radians); llSetLinkPrimitiveParamsFast( 5, [PRIM_ROT_LOCAL, llEuler2Rot(<0.0, 0.0, y>*DEG_TO_RAD)] ); // llSetLinkPrimitiveParamsFast(6, [ // PRIM_ROT_LOCAL, llEuler2Rot(<y, 0.0, 0.0>*DEG_TO_RAD)]); y+=90; // x++; } } } but it seems that the first click it is setting itself to a start point before rotating. Any ideas?
  10. if (message = "R000") will make the message R000 making that statement true everytime. It needs to be if (message == "R000") also you are recalling the listen event. It's not part of the Weapons portion so you should have that closed off. Kinda like R000 was a button option to begin with. Sorry if that sounds confusing, but it will be more like this. list buttons = ["Weapons", "Music", "Return"]; string dialogInfo = "\nHow can I help you?."; key ToucherID; integer dialogChannel; integer listenHandle; default { state_entry() { dialogChannel = -1 - (integer)("0x" + llGetSubString( (string)llGetKey(), -7, -1) ); } touch_start(integer num_detected) { ToucherID = llDetectedKey(0); listenHandle = llListen(dialogChannel, "", ToucherID, ""); llDialog(ToucherID, dialogInfo, buttons, dialogChannel); llSetTimerEvent(60.0); // Here we set a time limit for responses } listen(integer channel, string name, key id, string message) { //stop the timer llSetTimerEvent(0.0); //remove listen llListenRemove(listenHandle); //first level menu responses if (message == "Weapons") { string dialogInfo = "\nWhich function should I perform?"; list buttons = ["R000", "R030", "R050"]; //call second level menu listenHandle = llListen(dialogChannel, "", ToucherID, ""); llDialog(ToucherID, dialogInfo, buttons, dialogChannel); llSetTimerEvent(60.0); // Here we re set a time limit for responses } if (message == "R000") { //stop the timer llSetTimerEvent(0.0); //remove listen llListenRemove(listenHandle); llSay(0,"!shoot"); } else if (message == "R030") { llSay(0,"This function is not operable yet."); } else if (message == "R050") { llSay(0,"This function is not operable yet."); } else if (message == "Music") { llSay(0,"This function is not Operable yet."); } else if (message == "Return") { llSay(0,"Until next time."); } } timer() { // stop timer llSetTimerEvent(0); llListenRemove(listenHandle); llWhisper(0, "Sorry. You snooze; you lose."); } }
  11. Thank you everybody so much. This helped out a lot.
  12. I am trying to make an object usable by anybody, but only one person at a time. I've seen sales boards that will go to a busy more while one person makes a purchase. How do I set up this busy mode?
  13. I want to make a HUD that allows people to chat with other people also wearing the same HUD. I'm gonna want the HUD to randomly assign small groups and allow them to talk to each other. Is this possable? I haven't done much work with HUD's yet. For my purposesI think I will need a central item like a table. So that I can assign three people to one group or something.
  14. I'm not having trouble with the vehicles motion. I want animations to play I'm moving and a different when I'm stopped. I tried to put in timers that checked for control buttons being pressed but all I could get was a check if the button was pressed we've the last timed event, so if I hold the button down threw two timed events it would pay the idle animation again instead of the survival one.
  15. I am writing a vehicle script and I can get most of it to work. It takes control steers nicely and all that good stuff. I can get it to play an animation when I press forward, back, left and right, however after moving I can't get it to play an idle animation when no control buttons are being pressed. Does anybody know his to add that? I can post my script here tomorrow if you need to see it.
×
×
  • Create New...