Difference between revisions of "LSL Useful Function WishList"
m (→S) |
|||
(71 intermediate revisions by 27 users not shown) | |||
Line 1: | Line 1: | ||
{{LSL Header|ml=*}} | |||
{{LSL Header}} | |||
__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? | llDetectedDrop? | ||
event: Dropped | event: Dropped | ||
(To prevent spamming of objects with | (To prevent spamming of objects with [[llAllowInventoryDrop]]) | ||
[[CHANGED_ALLOWED_DROP]] | [[CHANGED_ALLOWED_DROP]] - {{Jira|SVC-3116}} | ||
[[llChangeLandPassPrice]] | [[llChangeLandPassPrice]] | ||
Line 22: | 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== | ||
Line 37: | Line 42: | ||
{{LSLG|llGetAgentPreferedLanguage}} | {{LSLG|llGetAgentPreferedLanguage}} | ||
{{LSLG|llGetAvatarKeysOnEstate}} | {{LSLG|llGetAvatarKeysOnEstate}} - {{Jira|SVC-58}} | ||
{{LSLG|llGetAvatarKeysOnParcel}} | {{LSLG|llGetAvatarKeysOnParcel}} - also {{Jira|SVC-58}} as above | ||
{{LSLG|llGetCreatorKey}} | {{LSLG|llGetCreatorKey}} - <s>{{Jira|SVC-1602}}</s> (is this done?) and mentioned on {{Jira|SVC-1633}} | ||
{{LSLG|llGetEstateBanList}} | {{LSLG|llGetEstateBanList}} - {{Jira|SVC-244}} | ||
{{LSLG|llGetGender}} | {{LSLG|llGetGender}} - {{Jira|SVC-1636}} | ||
{{LSLG|llGetGroup}} | {{LSLG|llGetGroup}} - {{Jira|SVC-2928}} and {{Jira|SVC-606}} (duplicates?) | ||
{{LSLG|llGetGroupTitle}} | {{LSLG|llGetGroupTitle}} | ||
{{LSLG|llGetInventoryDesc}} | {{LSLG|llGetInventoryDesc}} - {{Jira|SVC-377}} | ||
{{LSLG|llGetInventoryScale}} - {{Jira|SVC-4286}} | |||
{{LSLG| | {{LSLG|llGetLinkDesc()}} | ||
{{LSLG|llGetMyAccountBalance}} | {{LSLG|llGetMyAccountBalance}} | ||
{{LSLG|llGetNotecard}} | {{LSLG|llGetNotecard}} (this search brings up a misfiled JIRA) | ||
{{LSLG|llGetParcelBanList}} | {{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}} | ||
Line 65: | Line 74: | ||
{{LSLG|llGetPowerThirst}} | {{LSLG|llGetPowerThirst}} | ||
{{LSLG|llGetPrice}} | {{LSLG|llGetPrice}} - {{Jira|SVC-1593}} | ||
{{LSLG| | <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}} | ||
Line 84: | Line 99: | ||
{{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|llOverParcel}} | ||
{{LSLG|on_error}} | {{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}} | ||
Line 116: | Line 145: | ||
{{LSLG|llReturnOwnersObjects}} | {{LSLG|llReturnOwnersObjects}} | ||
{{LSLG|llRezBullet}} | |||
{{LSLG|llRezCopy}} | |||
{{LSLG|llRgb2hsv}} | |||
{{LSLG|llRotateAgent}} | {{LSLG|llRotateAgent}} | ||
Line 122: | Line 157: | ||
==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}} | ||
Line 149: | Line 204: | ||
{{LSLG|stopwatch(float precision_time)}} | {{LSLG|stopwatch(float precision_time)}} | ||
==T== | ==T== | ||
{{LSLG|llTargetOffsetOmega}} | {{LSLG|llTargetOffsetOmega}} | ||
{{LSLG|llTeleportAgent}} | {{LSLG|llTeleportAgent}} - {{Jira|SVC-212}} | ||
{{LSLG|llTriggerLandmark}} | {{LSLG|llTriggerLandmark}} | ||
{{LSLG|llTrackTouches}} | {{LSLG|llTrackTouches}} | ||
Line 167: | Line 220: | ||
==Other functionality== | ==Other functionality== | ||
{{LSLG|True tab-stops}} | {{LSLG|True tab-stops}} | ||
Line 182: | Line 234: | ||
{{LSLG|Conditionals}} | {{LSLG|Conditionals}} | ||
{{LSLG|Preprocessing}} | |||
{{LSLG|State variables}} | {{LSLG|State variables}} | ||
Line 196: | Line 250: | ||
{{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)