Difference between revisions of "LSL Useful Function WishList"

From Second Life Wiki
Jump to navigation Jump to search
 
(63 intermediate revisions by 25 users not shown)
Line 4: Line 4:


==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 llAllowInvenoryDrop)
(To prevent spamming of objects with [[llAllowInventoryDrop]])
[[CHANGED_ALLOWED_DROP]]
[[CHANGED_ALLOWED_DROP]] - {{Jira|SVC-3116}}


[[llChangeLandPassPrice]]
[[llChangeLandPassPrice]]
Line 21: Line 23:


==D==
==D==
{{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==
Line 35: 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|llGetLinkDesc()}}


{{LSLG|llGetLinkPrimitiveParams}}
{{LSLG|llGetMyAccountBalance}}  


{{LSLG|llGetMyAccountBalance}}
{{LSLG|llGetNotecard}} (this search brings up a misfiled JIRA)


{{LSLG|llGetNotecard}}
{{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 63: Line 74:
{{LSLG|llGetPowerThirst}}
{{LSLG|llGetPowerThirst}}


{{LSLG|llGetPrice}}
{{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}}
Line 81: Line 99:


{{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|llOverParcel}}


{{LSLG|on_error}}
{{LSLG|on_error}} [JIRA search inconclusive]


==P==
==P==
{{LSLG|llParcelSay}}
{{LSLG|llParcelSay}} - {{Jira|SVC-1224}}


{{LSLG|llPizza}}
{{LSLG|llPermuteLinkedPrims}} - {{Jira|SCR-361}}


{{LSLG|llPosition_change}}
==R==
:''Note: the letters 'R' and 'S' still need to be checked for JIRA links as of 23:45, 15 March 2009 (UTC)''


==R==
{{LSLG|llRaiseError}}
{{LSLG|llRaiseError}}
{{LSLG|llRegexParse2List}}


{{LSLG|llRemoveFromEstateBanList}}
{{LSLG|llRemoveFromEstateBanList}}
Line 115: Line 145:


{{LSLG|llReturnOwnersObjects}}
{{LSLG|llReturnOwnersObjects}}
{{LSLG|llRezBullet}}
{{LSLG|llRezCopy}}
{{LSLG|llRgb2hsv}}


{{LSLG|llRotateAgent}}
{{LSLG|llRotateAgent}}
Line 121: Line 157:


==S==
==S==
{{LSLG|llSetFaceText}}
{{LSLG|llSayTo}} - {{Jira|SVC-3983}} ([[llRegionSayTo]] does exactly the same)


{{LSLG|llSameGroupOfficer}}
{{LSLG|llSameGroupOfficer}}


{{LSLG|llSameGroupOwner}}
{{LSLG|llSameGroupOwner}}
{{LSLG|llSetFaceText}}
{{LSLG|llSetInventoryDesc}} - {{Jira|SVC-3984}}
{{LSLG|llSetInventoryName}} - {{Jira|SVC-3984}}


{{LSLG|llSetLinkMotorParam}}
{{LSLG|llSetLinkMotorParam}}
Line 138: Line 180:


{{LSLG|llSetParcelFlags}}
{{LSLG|llSetParcelFlags}}
{{LSLG|llSetLinkPrimitiveParams(PRIM_TEXTURE_ANIM_%26_PRIM_TEXT)}} - ([[PRIM_TEXT]] has been implemented for [[llSetPrimitiveParams]] and [[llSetLinkPrimitiveParams]])


{{LSLG|llSoundex}}
{{LSLG|llSoundex}}
Line 160: Line 204:


{{LSLG|stopwatch(float precision_time)}}
{{LSLG|stopwatch(float precision_time)}}
{{LSLG|llSayTo}}


==T==
==T==
{{LSLG|llTargetOffsetOmega}}
{{LSLG|llTargetOffsetOmega}}


{{LSLG|llTeleportAgent}}
{{LSLG|llTeleportAgent}} - {{Jira|SVC-212}}


{{LSLG|llTriggerLandmark}}
{{LSLG|llTriggerLandmark}}  


{{LSLG|llTrackTouches}}
{{LSLG|llTrackTouches}}
Line 178: Line 220:


==Other functionality==
==Other functionality==
{{LSLG|Block comments}}


{{LSLG|True tab-stops}}
{{LSLG|True tab-stops}}
Line 193: Line 234:


{{LSLG|Conditionals}}
{{LSLG|Conditionals}}
{{LSLG|Preprocessing}}


{{LSLG|State variables}}
{{LSLG|State variables}}
Line 207: 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

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)