There must certainly be more CONTROL_<KEY> codes.
- There aren't! -- Strife Onizuka 08:30, 3 May 2008 (PDT)
OK then, given that those few are the only recognized key/button presses, what about shift state modifiers SHIFT/CTRL/ALT? yes, no, maybe?
- Again, sorry, no. The only effect shift has is changing the ROT_(LEFT/RIGHT) to just (LEFT/RIGHT). -- Strife Onizuka 14:11, 3 May 2008 (PDT)
Does anyone have a list of the blacklisted functions?
And is llTakeControls(1, TRUE, TRUE) acceptable, or is that not recommended? --Stickman 23:16, 20 June 2008 (PDT)
- Answering my own stupid question, "1" is 0x00000001, which is CONTROL_FWD. Only. --Stickman 23:31, 20 June 2008 (PDT)
- llPushObject is purported to be one of the blacklisted functions, I don't really know about any others. -- Strife Onizuka 06:33, 21 June 2008 (PDT)
- llPushObject works just fine in "no outside script" areas. It's ignored if target is not owner and "no pushing" is set on the parcel, but the script continues functioning just fine. (I'm removing the comment about blacklisted functions until someone finds one). -- Jopsy Pendragon 15 April 2010 (PDT)
As a newbie scripter I found the given example a bit inconclusive... Would it be possible to get an example that better illustrates the difference between level and edge, maybe something that would show how to tap a key without getting multiple events back as a for instance? :) I don't know enough about scripting or control and llTakeControl to mention the things that can be done with it, but there must be some really good scripters out there who knows ^^ - Kessalta Blackburn 05:23, 16 February 2011 (PST)
- There isn't a ways to not get multiple events. Generally speaking the user will want to do one of two things with this: They want to know when a key is pressed or how long it is being held down and in which combination. You use edge to detect when a key is pressed and level to keep track of which ones are being held down. What can be more simpler than that? -- Strife (talk|contribs) 15:19, 18 February 2011 (PST)
I think I was a bit unclear, I'm sorry... I know that you get multiple events whenever you hit a key... I meant, show an example of how to only react to one event? If that makes more sense? I learn visually - and slowly :P - and I think I might not be the only one... It took me a while to figure out the one event per key stroke, and I figure it might benefit others if there were an example like that. I suppose I could make that myself, but given my rather green status, I thought it wiser to leave it to someone who know what they are doing... heh... -- Kessalta Blackburn 05:39, 19 February 2011 (PST)
I see what your getting at and it's a good point. This (kinda) relates to one of my (wiki) projects, so maybe I can kill two birds with one stone but I can't promise a time frame. -- Strife (talk|contribs) 21:04, 21 February 2011 (PST)
A note regarding accept/pass_on behavor.
SatguruS Resident's recent edit changes the description of FALSE/FALSE to state that the specified controls are disabled.
While this would be logical behavior, it is not the actual behavior; All unspecified controls are disabled instead.
A bug, no doubt, but to fix it now would break content, as this is a commonly used means of immobilizing a user. -- Faust(T|C) 03:09, 10 March 2012 (PST)
adding issues to deep notes
I see bugs added to deep notes are using the inject-2 method, but the format is confusing me, so if someone could add https://jira.secondlife.com/browse/SCR-97 that'd be nice
-- Void (talk|contribs) 04:26, 29 March 2014 (PDT)
- Sure. The problem is that Template:Issues/SCR-97 doesn't exist yet. After that it can be injected. There are three injection points. The reason for their being several is that they occur at different points in the Function template execution. 1) occurs before just about everything, it's used for templates that mess with the "mode". 2) occurs after "mode" has stabilized but before parameters are setup. 3) occurs after parameter setup but before other description fields are setup. In hind sight, Issues should really be injected in 3 because sometimes they use parameters. Since most don't and they aren't affected by "mode", you can inject them anywhere. -- Strife (talk|contribs) 11:16, 29 March 2014 (PDT)
- Yeah I find it to be annoying. I wish we could have a Widget that would do it automagically. I wonder if I can coerce the Feed widget to do it for me...-- Strife (talk|contribs) 17:39, 30 March 2014 (PDT)