Difference between revisions of "LSL Useful Function WishList"
(→S) |
|||
(82 intermediate revisions by 34 users not shown) | |||
Line 1: | Line 1: | ||
{{LSL Header|ml=*}} | |||
__NOTOC__ | __NOTOC__ | ||
NOTE: Please also add your feature requests to the [http://jira.secondlife.com/ JIRA] and create crosslinks between the wiki and the JIRA for voting, and assignment to projects. | NOTE: Please also add your feature requests to the [http://jira.secondlife.com/ JIRA] and create crosslinks between the wiki and the JIRA for voting, and assignment to projects. | ||
==A== | ==A== | ||
[[llAddToEstateBanList]] | [[llAddToEstateBanList]] - {{Jira|SVC-244}} | ||
[[llAddCameraView]] | [[llAddCameraView]] | ||
==C== | ==C== | ||
{{LSLG|CHANGED_PERMISSIONS}} - {{Jira|SCR-411}} | |||
llDetectedDrop? | |||
event: Dropped | |||
(To prevent spamming of objects with [[llAllowInventoryDrop]]) | |||
[[CHANGED_ALLOWED_DROP]] - {{Jira|SVC-3116}} | |||
[[llChangeLandPassPrice]] | [[llChangeLandPassPrice]] | ||
Line 13: | Line 23: | ||
==D== | ==D== | ||
{{LSLG| | {{LSLG|llDetermineType}} | ||
{{LSLG|llDetectedLinkTouchUV()}} | |||
==E== | ==E== | ||
{{LSLG|llExecuteMenuCommand}} | {{LSLG|llExecuteMenuCommand}} | ||
{{LSLG|llEval}} - {{Jira|SVC-1671}} | |||
==F== | ==F== | ||
{{LSLG|llForeach}} | {{LSLG|llForeach}} | ||
<s>llFrandom</s> use [[llFrand]] | |||
==G== | ==G== | ||
{{LSLG|llGetAgentHealth}} | {{LSLG|llGetAgentHealth}} | ||
{{LSLG|llGetAgentPreferedLanguage}} | {{LSLG|llGetAgentPreferedLanguage}} | ||
{{LSLG|llGetAvatarKeysOnEstate}} | |||
{{LSLG|llGetAvatarKeysOnParcel}} | {{LSLG|llGetAvatarKeysOnEstate}} - {{Jira|SVC-58}} | ||
{{LSLG|llGetCreatorKey}} | |||
{{LSLG|llGetEstateBanList}} | {{LSLG|llGetAvatarKeysOnParcel}} - also {{Jira|SVC-58}} as above | ||
{{LSLG|llGetGender}} | |||
{{LSLG|llGetGroup}} | {{LSLG|llGetCreatorKey}} - <s>{{Jira|SVC-1602}}</s> (is this done?) and mentioned on {{Jira|SVC-1633}} | ||
{{LSLG|llGetInventoryDesc}} | |||
{{LSLG| | {{LSLG|llGetEstateBanList}} - {{Jira|SVC-244}} | ||
{{LSLG|llGetMyAccountBalance}} | |||
{{LSLG|llGetNotecard}} | {{LSLG|llGetGender}} - {{Jira|SVC-1636}} | ||
{{LSLG|llGetParcelBanList}} | |||
{{LSLG|llGetGroup}} - {{Jira|SVC-2928}} and {{Jira|SVC-606}} (duplicates?) | |||
{{LSLG|llGetGroupTitle}} | |||
{{LSLG|llGetInventoryDesc}} - {{Jira|SVC-377}} | |||
{{LSLG|llGetInventoryScale}} - {{Jira|SVC-4286}} | |||
{{LSLG|llGetLinkDesc()}} | |||
{{LSLG|llGetMyAccountBalance}} | |||
{{LSLG|llGetNotecard}} (this search brings up a misfiled JIRA) | |||
{{LSLG|llGetParcelBanList}} | |||
{{LSLG|llGetParcelMusicURL}} - <s>use ([[string]])[[llParcelMediaQuery]](([[list]])[[PARCEL_MEDIA_COMMAND_URL]]) instead</s> - ([[string]])[[llParcelMediaQuery]](([[list]])[[PARCEL_MEDIA_COMMAND_URL]]) returns the video URL, not the audio URL. There is currently no way to get the audio URL. | |||
{{LSLG|llGetParcelPopulation}} | {{LSLG|llGetParcelPopulation}} | ||
{{LSLG| | |||
{{LSLG| | {{LSLG|llGetPowerThirst}} | ||
{{LSLG|llGetPrice}} - {{Jira|SVC-1593}} | |||
<s>llGetScriptCreatorKey</s> - use [[llGetInventoryCreator]]([[llGetScriptName]]()) instead | <s>llGetScriptCreatorKey</s> - use [[llGetInventoryCreator]]([[llGetScriptName]]()) instead | ||
{{LSLG|llGetSoundLength}} | |||
{{LSLG|llGetText}} - {{Jira|SVC-5384}} | |||
{{LSLG|llGetWorldPopulation}} | {{LSLG|llGetWorldPopulation}} | ||
==H== | |||
{{LSLG|llHsv2Rgb}} | |||
==I== | ==I== | ||
{{LSLG|llInstantMessageGroup}} | {{LSLG|llInstantMessageGroup}} | ||
{{LSLG|llInviteToGroup}} | |||
{{LSLG|llInviteToGroup}} - {{Jira|VWR-273}} (marked "Resolved/Misfiled" as it should be a SVC request) | |||
{{LSLG|llIsValidIntegerString}} | {{LSLG|llIsValidIntegerString}} | ||
{{LSLG|llIsValidFloatString}} | {{LSLG|llIsValidFloatString}} | ||
{{LSLG|llIsValidVectorString}} | {{LSLG|llIsValidVectorString}} | ||
{{LSLG|llIsValidRotationString}} | {{LSLG|llIsValidRotationString}} | ||
{{LSLG|ignored}} - {{Jira|SVC-3624}} | |||
{{LSLG|include}} - {{Jira|MISC-2816}} and {{Jira|VWR-7445}} | |||
==L== | ==L== | ||
{{LSLG| | {{LSLG|logoff}} | ||
==M== | ==M== | ||
{{LSLG|llMapTouch}} | {{LSLG|llMapTouch}} | ||
{{LSLG|llMatchGroup}} | |||
==N== | ==N== | ||
{{LSLG|llName2Key}} | |||
{{LSLG|llName2Key}} - {{Jira|SVC-215}} | |||
{{LSLG|llNewNotecard}} | |||
==O== | ==O== | ||
{{LSLG|llOnRegionReset}} | {{LSLG|llOnRegionReset}} | ||
{{LSLG| | |||
{{LSLG|on_error}} | {{LSLG|llOverParcel}} | ||
{{LSLG|on_error}} [JIRA search inconclusive] | |||
==P== | ==P== | ||
{{LSLG| | {{LSLG|llParcelSay}} - {{Jira|SVC-1224}} | ||
{{LSLG| | |||
{{LSLG|llPermuteLinkedPrims}} - {{Jira|SCR-361}} | |||
==R== | ==R== | ||
:''Note: the letters 'R' and 'S' still need to be checked for JIRA links as of 23:45, 15 March 2009 (UTC)'' | |||
{{LSLG|llRaiseError}} | {{LSLG|llRaiseError}} | ||
{{LSLG|llRegexParse2List}} | |||
{{LSLG|llRemoveFromEstateBanList}} | {{LSLG|llRemoveFromEstateBanList}} | ||
{{LSLG|llRequestClientData}} | {{LSLG|llRequestClientData}} | ||
{{LSLG|llReturnObject}} | {{LSLG|llReturnObject}} | ||
{{LSLG|llReturnOwnersObjects}} | {{LSLG|llReturnOwnersObjects}} | ||
{{LSLG|llRezBullet}} | |||
{{LSLG|llRezCopy}} | |||
{{LSLG|llRgb2hsv}} | |||
{{LSLG|llRotateAgent}} | {{LSLG|llRotateAgent}} | ||
{{LSLG|llRequestPermissions(llGetOwner(), PERMISSION_REFUND);}} | {{LSLG|llRequestPermissions(llGetOwner(), PERMISSION_REFUND);}} | ||
==S== | ==S== | ||
{{LSLG|llSayTo}} - {{Jira|SVC-3983}} ([[llRegionSayTo]] does exactly the same) | |||
{{LSLG|llSameGroupOfficer}} | |||
{{LSLG|llSameGroupOwner}} | |||
{{LSLG|llSetFaceText}} | |||
{{LSLG|llSetInventoryDesc}} - {{Jira|SVC-3984}} | |||
{{LSLG|llSetInventoryName}} - {{Jira|SVC-3984}} | |||
{{LSLG|llSetLinkMotorParam}} | {{LSLG|llSetLinkMotorParam}} | ||
{{LSLG|llSetLinkText}} | |||
{{LSLG|llSetCOG}} | {{LSLG|llSetCOG}} | ||
{{LSLG|llSetNotecard}} | {{LSLG|llSetNotecard}} | ||
{{LSLG|llSetParcelDetails}} | |||
{{LSLG|llSetParcelFlags}} | |||
{{LSLG|llSetLinkPrimitiveParams(PRIM_TEXTURE_ANIM_%26_PRIM_TEXT)}} - ([[PRIM_TEXT]] has been implemented for [[llSetPrimitiveParams]] and [[llSetLinkPrimitiveParams]]) | |||
{{LSLG|llSoundex}} | {{LSLG|llSoundex}} | ||
{{LSLG|llSpeakText}} | {{LSLG|llSpeakText}} | ||
{{LSLG|llSpeech2Text}} | {{LSLG|llSpeech2Text}} | ||
{{LSLG|llSpeech2TextRemove}} | {{LSLG|llSpeech2TextRemove}} | ||
{{LSLG|llStringUTF16ToUTF8}} | {{LSLG|llStringUTF16ToUTF8}} | ||
{{LSLG|llSayWithinRange}} | {{LSLG|llSayWithinRange}} | ||
{{LSLG| | |||
{{LSLG|llSetSunDirection}} | |||
{{LSLG|llSetWaterMark}} | {{LSLG|llSetWaterMark}} | ||
{{LSLG|llSetCloudLevel}} | |||
{{LSLG|llSetTouch}} | {{LSLG|llSetTouch}} | ||
{{LSLG|stopwatch(float precision_time)}} | {{LSLG|stopwatch(float precision_time)}} | ||
==T== | ==T== | ||
{{LSLG|llTargetOffsetOmega}} | {{LSLG|llTargetOffsetOmega}} | ||
{{LSLG|llTeleportAgent}} | |||
{{LSLG|llTriggerLandmark}} | {{LSLG|llTeleportAgent}} - {{Jira|SVC-212}} | ||
{{LSLG|llTriggerLandmark}} | |||
{{LSLG|llTrackTouches}} | {{LSLG|llTrackTouches}} | ||
{{LSLG|llTreeSystem}} | {{LSLG|llTreeSystem}} | ||
Line 103: | Line 220: | ||
==Other functionality== | ==Other functionality== | ||
{{LSLG|True tab-stops}} | {{LSLG|True tab-stops}} | ||
{{LSLG|Code Folding}} | {{LSLG|Code Folding}} | ||
{{LSLG|Windowed Scripting}} | {{LSLG|Windowed Scripting}} | ||
{{LSLG|Switch Statement}} | {{LSLG|Switch Statement}} | ||
{{LSLG|Array}} | {{LSLG|Array}} | ||
{{LSLG|on_unrez|Event: Unrez / Delete}} | {{LSLG|on_unrez|Event: Unrez / Delete}} | ||
{{LSLG|Conditionals}} | {{LSLG|Conditionals}} | ||
{{LSLG|Preprocessing}} | |||
{{LSLG|State variables}} | {{LSLG|State variables}} | ||
{{LSLG|Object Orientation aka OOP or OO}} | {{LSLG|Object Orientation aka OOP or OO}} | ||
{{LSLG|Various C++ aspects should be implemented in LSL, Classes, Switch Statements, pointers, etc.}} | {{LSLG|Various C++ aspects should be implemented in LSL, Classes, Switch Statements, pointers, etc.}} | ||
{{LSLG|Receive instant messages}} | {{LSLG|Receive instant messages}} | ||
{{LSLG|money transfer denied for stale Event}} | {{LSLG|money transfer denied for stale Event}} | ||
{{LSLG|Nestable lists}} | {{LSLG|Nestable lists}} | ||
{{LSLG|Nesting of Child Prims in a Parent}} | {{LSLG|Nesting of Child Prims in a Parent}} | ||
* compound declarations, "integer i, j;" | |||
* Brackets for list index access, "l[5]=5;" | |||
* a (set of?) pragma(s) which offer(s~) synonyms for functions without the "ll" and their C, C#, and Javascript short common names, if any; | |||
* double precision floating point; | |||
* long integers; | |||
* dynamic typing; | |||
* Mephistopheles Thalheimer suggests also: | |||
** function overloads and | |||
** classes with method calls. | |||
* operator declarations; | |||
http://lslplus.sourceforge.net/ was just mentioned in Babbage's office hour -- can the m4 macro preprocessor accomplish some of these tasks, too? | |||
Also, [[Talk:Rotation#Useful_snippets|I've offered L$5000 for enhancements to the rotation library]]. [[User:JS Uralia|JS Uralia]] 20:00, 12 March 2009 (UTC) |
Latest revision as of 04:27, 5 September 2012
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
NOTE: Please also add your feature requests to the JIRA and create crosslinks between the wiki and the JIRA for voting, and assignment to projects.
A
llAddToEstateBanList - SVC-244
C
llDetectedDrop?
event: Dropped
(To prevent spamming of objects with llAllowInventoryDrop) CHANGED_ALLOWED_DROP - SVC-3116
D
E
F
llFrandom use llFrand
G
llGetAvatarKeysOnEstate - SVC-58
llGetAvatarKeysOnParcel - also SVC-58 as above
llGetCreatorKey - SVC-1602 (is this done?) and mentioned on SVC-1633
llGetGroup - SVC-2928 and SVC-606 (duplicates?)
llGetInventoryScale - SVC-4286
llGetNotecard (this search brings up a misfiled JIRA)
llGetParcelMusicURL - use (string)llParcelMediaQuery((list)PARCEL_MEDIA_COMMAND_URL) instead - (string)llParcelMediaQuery((list)PARCEL_MEDIA_COMMAND_URL) returns the video URL, not the audio URL. There is currently no way to get the audio URL.
llGetScriptCreatorKey - use llGetInventoryCreator(llGetScriptName()) instead
H
I
llInviteToGroup - VWR-273 (marked "Resolved/Misfiled" as it should be a SVC request)
include - MISC-2816 and VWR-7445
L
M
N
O
on_error [JIRA search inconclusive]
P
llPermuteLinkedPrims - SCR-361
R
- Note: the letters 'R' and 'S' still need to be checked for JIRA links as of 23:45, 15 March 2009 (UTC)
llRequestPermissions(llGetOwner(), PERMISSION_REFUND);
S
llSayTo - SVC-3983 (llRegionSayTo does exactly the same)
llSetLinkPrimitiveParams(PRIM_TEXTURE_ANIM_&_PRIM_TEXT) - (PRIM_TEXT has been implemented for llSetPrimitiveParams and llSetLinkPrimitiveParams)
stopwatch(float precision_time)
T
W
Other functionality
Object Orientation aka OOP or OO
Various C++ aspects should be implemented in LSL, Classes, Switch Statements, pointers, etc.
money transfer denied for stale Event
Nesting of Child Prims in a Parent
- compound declarations, "integer i, j;"
- Brackets for list index access, "l[5]=5;"
- a (set of?) pragma(s) which offer(s~) synonyms for functions without the "ll" and their C, C#, and Javascript short common names, if any;
- double precision floating point;
- long integers;
- dynamic typing;
- Mephistopheles Thalheimer suggests also:
- function overloads and
- classes with method calls.
- operator declarations;
http://lslplus.sourceforge.net/ was just mentioned in Babbage's office hour -- can the m4 macro preprocessor accomplish some of these tasks, too?
Also, I've offered L$5000 for enhancements to the rotation library. JS Uralia 20:00, 12 March 2009 (UTC)