Jump to content

steph Arnott

Resident
  • Posts

    3,914
  • Joined

  • Last visited

Everything posted by steph Arnott

  1. The strided list will contain paired information you need. The second is the agents name. That information if for you because it is user freindly and is used for the menu button. The first is the key of that agent which the script function needs. You need to read this http://wiki.secondlife.com/wiki/Category:LSL_List Before you can do anyting you need to sort the list part out. Once that is correct then using the information can be delt with.
  2. I gave you advice. You do not need two lists. A strided list will do. < UUID, Name >
  3. Well for one thing you do not need two lists for key and name. You use a strided list.
  4. changed(integer change) { if (change & CHANGED_LINK)//when a link change is detected do the code { key agent = llAvatarOnLinkSitTarget(1); if (agent) { } }//because of this you have invalidated the following as it is not in the CHNGED_LINK cade branch else if (llAvatarOnLinkSitTarget(2) { } else { } }
  5. Well the script reason was given but the issue was land, not script. At the end of the day it is resolved.
  6. The message in the first still applies. The Second was just an additional.
  7. You do not use NULL_KEY as a filter or conditional. It is that simple. Good day.
  8. No, I just respect those that are experts over someone who is not. Simple logic.
  9. I will take Strife Onizuka informed explaination to me over yours. Be blessed.
  10. It will and at times will not. It is another miss-use that gives intermitant glitching. Also i know you use "". I tend to use which ever filter suits my needs.
  11. Firstly 'In many applications keys are checked against NULL_KEY to determine if they are valid; this is bad practice.' that means it will glitch. Secondly, why on Earth would you test for a NULL_KEY for coms when everything in SL sends its UUID? Nothing sends a transmission with a NULL_KEY. LL state that valid keys should be tested and not an invalid NULL_KEY.
  12. Read the official LSL wiki for starters then. It gives plenty of information.
  13. You probably are because you are stuck in LSO mode. LSL has advanced since those kludge days and when SL goes to 'cloud' you will have to be even more specific in code.
  14. Totally false information. Clearly you are not in that group. Also you have to pay to join.
  15. 'On certain mesh parts you may get this error when the scripts are reset/rebooted as the vehicle initially scans and sets up the physics based on keyword. This will not affect vehicle operation as the error occurs before the script has finished scanning and setting the linkset. Additional information 'Remove the "prim" keyword from link names. Mixing the PRIM_SHAPE_PRIM with other prim shapes at the scripting level causes this.'
  16. My claims? Even LL's own code writters state NOT to use NULL_KEY in MONO. They state to only test for a valid key or in the case of listen filters to leave it "" or a valid key..
  17. LSO was as loose as a clowns pocket. Mono tightened up those things we got away with. If you use a NULL_KEY it will glitch. Maybe not today, not next week and then wollop it refuses to work.
  18. You use it, then when it glitches you will be scratching your head wondering what is going on. I have been in SL to long and know what will happen. And FYI you should not even be valuating a NULL_KEY even in a conditional. It is a bad practice.
  19. vector color = <1,1,1>; float intensity = 1.000; float radius = 10.000; float falloff = 0.750; integer iSwitch; default { state_entry() { llListen(737, "", "", ""); } listen(integer number, string name, key id, string message) { if(message=="BlinkON") llSetTimerEvent(2.0); else if(message=="BlinkOFF") { llSetTimerEvent(0.0); iSwitch = 0; llSetLinkPrimitiveParamsFast(LINK_THIS,[PRIM_POINT_LIGHT, FALSE, color, intensity, radius, falloff, PRIM_FULLBRIGHT, ALL_SIDES, FALSE, PRIM_GLOW, ALL_SIDES,0]); } } timer() { iSwitch = !iSwitch; if (iSwitch) { llSetLinkPrimitiveParamsFast(LINK_THIS,[PRIM_POINT_LIGHT, TRUE, color, intensity, radius, falloff, PRIM_FULLBRIGHT, ALL_SIDES, TRUE, PRIM_GLOW, ALL_SIDES,0.2]); llSleep(0.5); } else llSetLinkPrimitiveParamsFast(LINK_THIS,[PRIM_POINT_LIGHT, FALSE, color, intensity, radius, falloff, PRIM_FULLBRIGHT, ALL_SIDES, FALSE, PRIM_GLOW, ALL_SIDES,0]); } }
  20. You can not use NULL_KEY in the llListen function. It has a value of "00000000-0000-0000-0000-000000000000". You are locking your script to a value it will never recieve. Set it to llListen(737, "", "", "" );
×
×
  • Create New...