Category:OSSL Functions

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
(Misc)
 
(175 intermediate revisions by 18 users not shown)
Line 1: Line 1:
 
== Current OSSL Functions Implemented  ==
 
== Current OSSL Functions Implemented  ==
  
Updated OSSL Functions as of OpenSim DEV 0.7.4 OpenSim-0007711-r/18206 March 1, 2012
+
'''!''' Partial Update OpenSim DEV 0.9.1
<br /><br />
+
'''!''' Partial Update December.10.2010 With commits of this date some functions have been corrected to use standard ossl conventions. The previous are tagged as deprecated with their replacement shown. The deprecated functions will advise you with a msg that they have been deprecated and to use new osFunction name instead. Further Updates are needed to complete existing list of osFunctions.
+
  
Special Note: Some Functions as shown use '''"double"''' as a Value instead of '''"float" '''these vary for purposes of accuracy as shown Below.
 
  
(Float is short for "floating point", and just means a number with a point something on the end.)
+
'''!''' Partial Update OpenSim DEV 0.9.0 #2c8c25a0 August 15, 2017
  
The difference between the two is in the size of the numbers that they can hold. For float, you can have up to 7 digits in your number. For doubles, you can have up to 16 digits. To be more precise, here's the official size: ( float: 1.5 × 10-45 to 3.4 × 1038 ) ( double: 5.0 × 10-324 to 1.7 × 10308 )
 
  
Note that some function takes doubles as arguments but may be internally down-casted to floats.
+
'''!''' Partial Update December.10.2010 With commits of this date some functions have been corrected to use standard OSSL conventions. The previous functions are tagged as deprecated with their replacement shown. The deprecated functions will advise you with a message that they have been deprecated and to use the new os function name instead. Further updates are needed to complete the existing list of os functions.
  
Each of these functions has an threat level associated to it. See [[Threat level]] for more information and an overview of each function's level.
 
  
=== Avatar Managements ===
+
Each of these functions may have threat level associated with it. See [[Threat level]] for more information and an overview of each function's level.
 +
 
 +
 
 +
=== Avatars ===
 
{{multicol}}
 
{{multicol}}
*[[osGetAgentIP]]
+
*[[osAgentSaveAppearance]]
*[[osGetAgents]]
+
*[[osGetAvatarList]]  
+
 
*[[osAvatarName2Key]]
 
*[[osAvatarName2Key]]
 
*[[osAvatarPlayAnimation]]  
 
*[[osAvatarPlayAnimation]]  
 
*[[osAvatarStopAnimation]]  
 
*[[osAvatarStopAnimation]]  
*[[osAgentSaveAppearance]]
+
*[[osCauseDamage]]
 +
*[[osCauseHealing]]
 +
*[[osDetectedCountry]] {{new}}
 +
*[[osDropAttachment]]
 +
*[[osDropAttachmentAt]]
 +
*[[osEjectFromGroup]]
 +
*[[osForceAttachToAvatar]]
 +
*[[osForceAttachToAvatarFromInventory]]
 +
*[[osForceAttachToOtherAvatarFromInventory]]
 +
*[[osForceDetachFromAvatar]]
 +
*[[osForceDropAttachment]]
 +
*[[osForceDropAttachmentAt]]
 +
*[[osForceOtherSit]]
 +
*[[osGetAgentIP]]  
 
{{multicol-break}}
 
{{multicol-break}}
 +
*[[osGetAgents]]
 +
*[[osGetAgentCountry]] {{new}}
 +
*[[osGetAvatarHomeURI]]
 +
*[[osGetAvatarList]]
 +
*[[osGetGender]]
 +
*[[osGetHealRate]]
 +
*[[osGetHealth]]
 +
*[[osGetNumberOfAttachments]]
 +
*[[osInviteToGroup]]
 +
*[[osKickAvatar]]
 
*[[osOwnerSaveAppearance]]
 
*[[osOwnerSaveAppearance]]
 +
*[[osSetHealRate]]
 +
*[[osSetHealth]]
 +
*[[osSetOwnerSpeed]]
 +
*[[osSetSpeed]]
 +
*[[osLocalTeleportAgent]] {{E}}
 
*[[osTeleportAgent]]  
 
*[[osTeleportAgent]]  
 
*[[osTeleportOwner]]  
 
*[[osTeleportOwner]]  
*[[osKickAvatar]]
 
*[[osCauseDamage]]
 
*[[osCauseHealing]]
 
 
{{multicol-end}}
 
{{multicol-end}}
  
 
=== NPCs ===
 
=== NPCs ===
 
{{multicol}}
 
{{multicol}}
 +
*[[osIsNpc]]
 
*[[osNpcCreate]]
 
*[[osNpcCreate]]
 +
*[[osGetNpcList]]
 
*[[osNpcGetPos]]
 
*[[osNpcGetPos]]
 
*[[osNpcGetRot]]
 
*[[osNpcGetRot]]
Line 42: Line 65:
 
*[[osNpcMoveTo]]
 
*[[osNpcMoveTo]]
 
*[[osNpcMoveToTarget]]
 
*[[osNpcMoveToTarget]]
 +
*[[osNpcPlayAnimation]]
 
*[[osNpcRemove]]
 
*[[osNpcRemove]]
 
*[[osNpcSaveAppearance]]
 
*[[osNpcSaveAppearance]]
 
{{multicol-break}}
 
{{multicol-break}}
 
*[[osNpcSay]]
 
*[[osNpcSay]]
 +
*[[osNpcSayTo]]
 +
*[[osNpcSetProfileAbout]]
 +
*[[osNpcSetProfileImage]]
 
*[[osNpcSetRot]]
 
*[[osNpcSetRot]]
 +
*[[osNpcShout]]
 
*[[osNpcSit]]
 
*[[osNpcSit]]
 
*[[osNpcStand]]
 
*[[osNpcStand]]
 
*[[osNpcStopMoveToTarget]]
 
*[[osNpcStopMoveToTarget]]
*[[osIsNpc]]
 
*[[osNpcPlayAnimation]]
 
 
*[[osNpcStopAnimation]]
 
*[[osNpcStopAnimation]]
 +
*[[osNpcTouch]]
 +
*[[osNpcWhisper]]
 
{{multicol-end}}
 
{{multicol-end}}
  
=== Prim Manupulations ===
+
=== Prim Manipulation ===
*[[osGetPrimitiveParams]]  
+
{{multicol}}
 +
*[[osClearInertia]]
 +
*[[osForceBreakAllLinks]]
 +
*[[osForceBreakLink]]
 +
*[[osForceCreateLink]]
 +
*[[osGetInertiaData]]
 +
*[[osGetInventoryItemKey]] {{new}}
 +
*[[osGetInventoryName]] {{new}}
 +
*[[osGetInventoryDesc]]
 +
*[[osGetInventoryLastOwner]]
 +
*[[osGetLastChangedEventKey]] {{new}}
 +
*[[osGetLinkNumber]]
 
*[[osGetLinkPrimitiveParams]]  
 
*[[osGetLinkPrimitiveParams]]  
 +
{{multicol-break}}
 +
*[[osGetPrimitiveParams]]
 +
*[[osGetRezzingObject]]
 +
*[[osListenRegex]]
 +
*[[osMessageAttachments]]
 +
*[[osMessageObject]]
 +
*[[osSetInertia]]
 +
*[[osSetInertiaAsBox]]
 +
*[[osSetInertiaAsCylinder]]
 +
*[[osSetInertiaAsSphere]]
 
*[[osSetPrimitiveParams]]  
 
*[[osSetPrimitiveParams]]  
*[[osSetProjectionParams]]  
+
*[[osSetProjectionParams]]
*[[osSetSpeed]]  
+
*[[osTeleportObject]]
*[[osMessageObject]]
+
{{multicol-end}}
  
=== Prim Drawings ===
+
=== Prim Drawing / Dynamic Texture ===
 
{{multicol}}
 
{{multicol}}
*[[osMovePen]]  
+
*[[osDrawEllipse]]
*[[osDrawLine]]  
+
*[[osDrawFilledEllipse]]
*[[osDrawText]]  
+
*[[osDrawFilledPolygon]]
*[[osDrawEllipse]]  
+
*[[osDrawFilledRectangle]]
*[[osDrawRectangle]]  
+
*[[osDrawImage]]
*[[osDrawFilledRectangle]]  
+
*[[osDrawLine]]
*[[osDrawPolygon]]  
+
*[[osDrawPolygon]]
*[[osDrawFilledPolygon]]  
+
*[[osDrawRectangle]]
*[[osDrawImage]]  
+
*[[osDrawResetTransform]]
 +
*[[osDrawRotationTransform]]
 +
*[[osDrawScaleTransform]]
 +
*[[osDrawText]]
 +
*[[osDrawTranslationTransform]]
 
{{multicol-break}}
 
{{multicol-break}}
*[[osGetDrawStringSize]]  
+
*[[osGetDrawStringSize]]
*[[osSetFontName]]  
+
*[[osMovePen]]
*[[osSetFontSize]]  
+
*[[osSetFontName]]
*[[osSetPenSize]]
+
*[[osSetFontSize]]
*[[osSetPenColor]]  
+
 
*[[osSetPenCap]]
 
*[[osSetPenCap]]
 +
*[[osSetPenColor]]
 +
*[[osSetPenSize]]
 +
*[[osSetDynamicTextureData]] {{new}}
 +
*[[osSetDynamicTextureDataFace]] {{new}}
 +
*[[osSetDynamicTextureDataBlend]] {{new}}
 +
*[[osSetDynamicTextureDataBlendFace]]
 +
*[[osSetDynamicTextureURL]] {{new}}
 +
*[[osSetDynamicTextureURLBlend]] {{new}}
 +
*[[osSetDynamicTextureURLBlendFace]] {{new}}
 
{{multicol-end}}
 
{{multicol-end}}
  
=== Dynamic Textures ===
+
=== Notecard ===
*[[osSetDynamicTextureData]]
+
*[[osSetDynamicTextureDataBlend]]
+
*[[osSetDynamicTextureDataBlendFace]]
+
*[[osSetDynamicTextureURL]]
+
*[[osSetDynamicTextureURLBlend]]
+
*[[osSetDynamicTextureURLBlendFace]]
+
 
+
=== Notecards ===
+
*[[osMakeNotecard]]
+
 
*[[osGetNotecard]]  
 
*[[osGetNotecard]]  
 
*[[osGetNotecardLine]]  
 
*[[osGetNotecardLine]]  
*[[osGetNumberOfNotecardLines]]  
+
*[[osGetNumberOfNotecardLines]]
 +
*[[osMakeNotecard]]
 +
 
 +
=== Sound ===
 +
{{multicol}}
 +
*[[osAdjustSoundVolume]]
 +
*[[osCollisionSound]]
 +
*[[osLoopSound]]
 +
*[[osLoopSoundMaster]]
 +
*[[osLoopSoundSlave]]
 +
*[[osPlaySound]]
 +
{{multicol-break}}
 +
*[[osPlaySoundSlave]]
 +
*[[osPreloadSound]]
 +
*[[osSetSoundRadius]]
 +
*[[osStopSound]]
 +
*[[osTriggerSound]]
 +
*[[osTriggerSoundLimited]]
 +
{{multicol-end}}
 +
 
 +
=== HTTP ===
 +
*[[osRequestSecureURL]]
 +
*[[osRequestURL]]
 +
*[[osSetContentType]]
  
=== Parcels ===
+
=== Parcel ===
 
*[[osParcelJoin]]  
 
*[[osParcelJoin]]  
 
*[[osParcelSubdivide]]  
 
*[[osParcelSubdivide]]  
 +
*[[osGetParcelDwell]] {{new}}
 
*[[osSetParcelDetails]]
 
*[[osSetParcelDetails]]
  
=== Terrains ===
+
=== Terrain ===
 
*[[osGetTerrainHeight]]  
 
*[[osGetTerrainHeight]]  
 
*[[osSetTerrainHeight]]  
 
*[[osSetTerrainHeight]]  
 +
*[[osSetTerrainTexture]]
 +
*[[osSetTerrainTextureHeight]]
 
*[[osTerrainFlush]]
 
*[[osTerrainFlush]]
  
=== WindLights ===
+
=== WindLight ===
 
{{multicol}}
 
{{multicol}}
*[[osSetRegionWaterHeight]]
 
*[[osSetRegionSunSettings]]
 
*[[osSetEstateSunSettings]]
 
 
*[[osGetCurrentSunHour]]  
 
*[[osGetCurrentSunHour]]  
 
*[[osGetSunParam]]  
 
*[[osGetSunParam]]  
*[[osSetSunParam]]
 
{{multicol-break}}
 
*[[osWindActiveModelPluginName]]
 
 
*[[osGetWindParam]]  
 
*[[osGetWindParam]]  
 +
*[[osSetEstateSunSettings]]
 +
*[[osSetRegionSunSettings]]
 +
{{multicol-break}}
 +
*[[osSetRegionWaterHeight]]
 +
*[[osSetSunParam]]
 
*[[osSetWindParam]]
 
*[[osSetWindParam]]
 +
*[[osWindActiveModelPluginName]]
 
{{multicol-end}}
 
{{multicol-end}}
  
=== Grid Informations ===
+
=== Grid / Region Information ===
 
{{multicol}}
 
{{multicol}}
 +
*[[osCheckODE]]
 +
*[[osGetGridCustom]]
 +
*[[osGetGridGatekeeperURI]]
 +
*[[osGetGridHomeURI]]
 +
*[[osGetGridLoginURI]]
 
*[[osGetGridName]]  
 
*[[osGetGridName]]  
 
*[[osGetGridNick]]  
 
*[[osGetGridNick]]  
*[[osGetGridLoginURI]]
+
*[[osGetMapTexture]]  
*[[osGetGridHomeURI]]
+
*[[osGetPhysicsEngineName]]
*[[osGetGridGatekeeperURI]]
+
*[[osGetPhysicsEngineType]]
*[[osGetGridCustom]]
+
*[[osGetScriptEngineName]]
+
*[[osGetSimulatorVersion]]
+
*[[osGetSimulatorMemory]]  
+
 
{{multicol-break}}
 
{{multicol-break}}
*[[osGetMapTexture]]
 
 
*[[osGetRegionMapTexture]]  
 
*[[osGetRegionMapTexture]]  
 +
*[[osGetRegionSize]]
 
*[[osGetRegionStats]]  
 
*[[osGetRegionStats]]  
 +
*[[osGetScriptEngineName]]
 +
*[[osGetSimulatorMemory]]
 +
*[[osGetSimulatorMemoryKB]]
 +
*[[osGetSimulatorVersion]]
 
*[[osLoadedCreationDate]]  
 
*[[osLoadedCreationDate]]  
 +
*[[osLoadedCreationID]]
 
*[[osLoadedCreationTime]]  
 
*[[osLoadedCreationTime]]  
*[[osLoadedCreationID]]
 
 
{{multicol-end}}
 
{{multicol-end}}
  
=== Administrations ===
+
=== Administration ===
*[[osRegionNotice]]
+
*[[osRegionRestart]]
+
 
*[[osConsoleCommand]]  
 
*[[osConsoleCommand]]  
 +
*[[osRegionNotice]]
 +
*[[osRegionRestart]]
 
*[[osSetParcelMediaURL]]  
 
*[[osSetParcelMediaURL]]  
 +
*[[osSetParcelSIPAddress]]
 
*[[osSetPrimFloatOnWater]]
 
*[[osSetPrimFloatOnWater]]
*[[osSetParcelSIPAddress]]  
+
 
 +
=== Script ===
 +
*[[osResetAllScripts]] {{new}}
 +
 
 +
=== String Manipulation ===
 +
{{multicol}}
 +
* [[osFormatString]]
 +
* [[osMatchString]]
 +
* [[osRegexIsMatch]]
 +
* [[osReplaceString]]
 +
* [[osStringSubString]] {{new}}
 +
* [[osStringStartsWith]] {{new}}
 +
{{multicol-break}}
 +
* [[osStringEndsWith]] {{new}}
 +
* [[osStringIndexOf]] {{new}}
 +
* [[osStringLastIndexOf]] {{new}}
 +
* [[osStringRemove]] {{new}}
 +
* [[osStringReplace]] {{new}}
 +
{{multicol-end}}
  
 
=== Misc ===
 
=== Misc ===
*[[osSetStateEvents]]  
+
{{multicol}}
*[[osList2Double]]  
+
*[[osAngleBetween]] {{new}}
 +
*[[osApproxEquals]] {{new}}
 +
*[[osDie]]
 +
*[[osGetPSTWallclock]] {{new}}
 +
*[[osIsUUID]]
 +
*[[osIsNotValidNumber]] {{new}}
 
*[[osKey2Name]]  
 
*[[osKey2Name]]  
*[[osFormatString]]  
+
*[[osList2Double]]  
*[[osMatchString]]  
+
*[[osMax]]
 +
*[[osMin]]
 +
{{multicol-break}}
 +
*[[osRound]] {{new}}
 +
*[[osSlerp]] {{new}}
 
*[[osUnixTimeToTimestamp]]  
 
*[[osUnixTimeToTimestamp]]  
*[[osParseJSON]]
+
*[[osVecDistSquare]] {{new}}
*[[osParseJSONNew]]
+
*[[osVecMagSquare]] {{new}}
 +
*[[osVolumeDetect]]
 +
{{multicol-end}}
  
 
=== Deprecated ===
 
=== Deprecated ===
Line 166: Line 279:
 
*[[osTerrainGetHeight|<strike>osTerrainGetHeight</strike>]] - Use [[osGetTerrainHeight]]  
 
*[[osTerrainGetHeight|<strike>osTerrainGetHeight</strike>]] - Use [[osGetTerrainHeight]]  
 
*[[osTerrainSetHeight|<strike>osTerrainSetHeight</strike>]] - Use [[osSetTerrainHeight]]
 
*[[osTerrainSetHeight|<strike>osTerrainSetHeight</strike>]] - Use [[osSetTerrainHeight]]
 +
*<strike>osWindParamGet</strike> - Use [[osGetWindParam]]
 +
*<strike>osWindParamSet</strike> - Use [[osSetWindParam]]
  
 
== See Also  ==
 
== See Also  ==
Line 171: Line 286:
 
*[[LSL Status|LSL/OSSL Status Page]]  
 
*[[LSL Status|LSL/OSSL Status Page]]  
 
*OSSL  
 
*OSSL  
 +
**[[OSSL_Implemented|OSSL Implemented Functions]]
 +
**[[OSSL Constants|OSSL Constants]]
 
**[[OSSL Status/Types|OSSL Types Status Page]]  
 
**[[OSSL Status/Types|OSSL Types Status Page]]  
 
**[[OSSL Status/Events|OSSL Events Status Page]]  
 
**[[OSSL Status/Events|OSSL Events Status Page]]  
**[[OSSL Proposals|OSSL Proposed Functions]]
+
 
**[[OSSL_Implemented|OSSL Implemented Functions]]
+
**[[OSSL Enabling Functions]]
+
**[[OSSL Standards|OSSL Standards]]
+
 
**[[Dynamic_textures|OSSL osDynamicTextures Functions Index Page]]
 
**[[Dynamic_textures|OSSL osDynamicTextures Functions Index Page]]
 
**[[OSSL TextureDrawing|OSSL TextureDrawing Extended Information]]
 
**[[OSSL TextureDrawing|OSSL TextureDrawing Extended Information]]
 
**[[OSSLNPC|OSSL functions for working with NPCs]]
 
**[[OSSLNPC|OSSL functions for working with NPCs]]
 +
 +
**[[OSSL Proposals|OSSL Proposed Functions]]
 +
**[[OSSL Enabling Functions]]
 +
**[[OSSL Standards|OSSL Standards]]
 +
 +
* LS
 +
** [[LightShare#LightShare Scripting|LightShare Functions]]
 +
 +
* MOD
 +
** [[OSSL Script Library/ModSendCommand|modSendCommand()]]
 +
** [[OSSL Script Library/ModInvoke|Custom functions using modInvoke()]]
 +
 +
* NPC
 +
** [[Appearance_Formats|Appearance Notecard Format]]
  
 
[[Category:OSSL]]
 
[[Category:OSSL]]

Latest revision as of 06:21, 7 November 2019

Contents

[edit] Current OSSL Functions Implemented

! Partial Update OpenSim DEV 0.9.1


! Partial Update OpenSim DEV 0.9.0 #2c8c25a0 August 15, 2017


! Partial Update December.10.2010 With commits of this date some functions have been corrected to use standard OSSL conventions. The previous functions are tagged as deprecated with their replacement shown. The deprecated functions will advise you with a message that they have been deprecated and to use the new os function name instead. Further updates are needed to complete the existing list of os functions.


Each of these functions may have threat level associated with it. See Threat level for more information and an overview of each function's level.


[edit] Avatars

[edit] NPCs

[edit] Prim Manipulation

[edit] Prim Drawing / Dynamic Texture

[edit] Notecard

[edit] Sound

[edit] HTTP

[edit] Parcel

[edit] Terrain

[edit] WindLight

[edit] Grid / Region Information

[edit] Administration

[edit] Script

[edit] String Manipulation

[edit] Misc

[edit] Deprecated

[edit] See Also

Pages in category "OSSL Functions"

The following 200 pages are in this category, out of 209 total.

(previous 200) (next 200)

O

O cont.

O cont.

(previous 200) (next 200)
Personal tools
General
About This Wiki