Difference between revisions of "LSL Useful Function WishList"

From Second Life Wiki
Jump to navigation Jump to search
 
(82 intermediate revisions by 34 users not shown)
Line 1: Line 1:
{{LSL Header|ml=*}}
__NOTOC__
__NOTOC__
{{LSL Header}}
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|llDetectedFace}}
{{LSLG|llDetermineType}}
 
{{LSLG|llDetectedLinkTouchUV()}}


==E==
==E==
{{LSLG|llExecuteMenuCommand}}
{{LSLG|llExecuteMenuCommand}}
{{LSLG|llEval}} - {{Jira|SVC-1671}}


==F==
==F==
{{LSLG|llForeach}}
{{LSLG|llForeach}}
{{LSLG|llFrandom}}
 
<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|llGetLinkPrimitiveParams}}
{{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|llGetPrice}}
 
{{LSLG|llGetRegionPopulation}}
{{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|llLBETMB}}
{{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|OverParcel}}
 
{{LSLG|on_error}}
{{LSLG|llOverParcel}}
 
{{LSLG|on_error}} [JIRA search inconclusive]


==P==
==P==
{{LSLG|llPizza}}
{{LSLG|llParcelSay}} - {{Jira|SVC-1224}}
{{LSLG|llposition_change}}
 
{{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|llSetSunPosition}}
 
{{LSLG|llSetSunDirection}}
 
{{LSLG|llSetWaterMark}}
{{LSLG|llSetWaterMark}}
{{LSLG|llSetCloudLevel}}
{{LSLG|llSetTouch}}
{{LSLG|llSetTouch}}
{{LSLG|stopwatch(float precision_time)}}
{{LSLG|stopwatch(float precision_time)}}
{{LSLG|llSayTo}}


==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|Block comments}}
 
{{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

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

llAddCameraView

C

CHANGED_PERMISSIONS - SCR-411

llDetectedDrop?

event: Dropped

(To prevent spamming of objects with llAllowInventoryDrop) CHANGED_ALLOWED_DROP - SVC-3116

llChangeLandPassPrice

llChildPrims2List

D

llDetermineType

llDetectedLinkTouchUV()

E

llExecuteMenuCommand

llEval - SVC-1671

F

llForeach

llFrandom use llFrand

G

llGetAgentHealth

llGetAgentPreferedLanguage

llGetAvatarKeysOnEstate - SVC-58

llGetAvatarKeysOnParcel - also SVC-58 as above

llGetCreatorKey - SVC-1602 (is this done?) and mentioned on SVC-1633

llGetEstateBanList - SVC-244

llGetGender - SVC-1636

llGetGroup - SVC-2928 and SVC-606 (duplicates?)

llGetGroupTitle

llGetInventoryDesc - SVC-377

llGetInventoryScale - SVC-4286

llGetLinkDesc()

llGetMyAccountBalance

llGetNotecard (this search brings up a misfiled JIRA)

llGetParcelBanList

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.

llGetParcelPopulation

llGetPowerThirst

llGetPrice - SVC-1593

llGetScriptCreatorKey - use llGetInventoryCreator(llGetScriptName()) instead

llGetSoundLength

llGetText - SVC-5384

llGetWorldPopulation

H

llHsv2Rgb

I

llInstantMessageGroup

llInviteToGroup - VWR-273 (marked "Resolved/Misfiled" as it should be a SVC request)

llIsValidIntegerString

llIsValidFloatString

llIsValidVectorString

llIsValidRotationString

ignored - SVC-3624

include - MISC-2816 and VWR-7445

L

logoff

M

llMapTouch

llMatchGroup

N

llName2Key - SVC-215

llNewNotecard

O

llOnRegionReset

llOverParcel

on_error [JIRA search inconclusive]

P

llParcelSay - SVC-1224

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)

llRaiseError

llRegexParse2List

llRemoveFromEstateBanList

llRequestClientData

llReturnObject

llReturnOwnersObjects

llRezBullet

llRezCopy

llRgb2hsv

llRotateAgent

llRequestPermissions(llGetOwner(), PERMISSION_REFUND);

S

llSayTo - SVC-3983 (llRegionSayTo does exactly the same)

llSameGroupOfficer

llSameGroupOwner

llSetFaceText

llSetInventoryDesc - SVC-3984

llSetInventoryName - SVC-3984

llSetLinkMotorParam

llSetLinkText

llSetCOG

llSetNotecard

llSetParcelDetails

llSetParcelFlags

llSetLinkPrimitiveParams(PRIM_TEXTURE_ANIM_&_PRIM_TEXT) - (PRIM_TEXT has been implemented for llSetPrimitiveParams and llSetLinkPrimitiveParams)

llSoundex

llSpeakText

llSpeech2Text

llSpeech2TextRemove

llStringUTF16ToUTF8

llSayWithinRange

llSetSunDirection

llSetWaterMark

llSetCloudLevel

llSetTouch

stopwatch(float precision_time)

T

llTargetOffsetOmega

llTeleportAgent - SVC-212

llTriggerLandmark

llTrackTouches

llTreeSystem

W

llWriteToNotecard

Other functionality

True tab-stops

Code Folding

Windowed Scripting

Switch Statement

Array

Event: Unrez / Delete

Conditionals

Preprocessing

State variables

Object Orientation aka OOP or OO

Various C++ aspects should be implemented in LSL, Classes, Switch Statements, pointers, etc.

Receive instant messages

money transfer denied for stale Event

Nestable lists

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)