Category:OSSL Functions

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
(Misc)
(Avatars)
 
(117 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 
== Current OSSL Functions Implemented  ==
 
== Current OSSL Functions Implemented  ==
  
Updated OSSL Functions Implemented as of OpenSim DEV 0.9.0 #2c8c25a0 August 15, 2017
+
'''!''' 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 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.
+
  
Special Note: Some functions 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
 +
 
 +
 
 +
'''!''' 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.
  
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 functions take doubles as arguments but may be internally cast down to floats.
+
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.
  
Each of these functions has a threat level associated with it. See [[Threat level]] for more information and an overview of each function's level.
 
  
 
=== Avatars ===
 
=== Avatars ===
Line 23: Line 21:
 
*[[osCauseDamage]]  
 
*[[osCauseDamage]]  
 
*[[osCauseHealing]]
 
*[[osCauseHealing]]
 +
*[[osDetectedCountry]]
 
*[[osDropAttachment]]
 
*[[osDropAttachment]]
 
*[[osDropAttachmentAt]]
 
*[[osDropAttachmentAt]]
Line 33: Line 32:
 
*[[osForceDropAttachmentAt]]
 
*[[osForceDropAttachmentAt]]
 
*[[osForceOtherSit]]
 
*[[osForceOtherSit]]
{{multicol-break}}
 
 
*[[osGetAgentIP]]  
 
*[[osGetAgentIP]]  
 +
{{multicol-break}}
 
*[[osGetAgents]]
 
*[[osGetAgents]]
 +
*[[osGetAgentCountry]] {{new}}
 
*[[osGetAvatarHomeURI]]
 
*[[osGetAvatarHomeURI]]
 
*[[osGetAvatarList]]  
 
*[[osGetAvatarList]]  
 
*[[osGetGender]]
 
*[[osGetGender]]
*[[osGetHealRate]] {{new}}
+
*[[osGetHealRate]]
 
*[[osGetHealth]]
 
*[[osGetHealth]]
 
*[[osGetNumberOfAttachments]]
 
*[[osGetNumberOfAttachments]]
Line 45: Line 45:
 
*[[osKickAvatar]]
 
*[[osKickAvatar]]
 
*[[osOwnerSaveAppearance]]
 
*[[osOwnerSaveAppearance]]
*[[osSetHealRate]] {{new}}
+
*[[osSetHealRate]]
*[[osSetHealth]] {{new}}
+
*[[osSetHealth]]
*[[osSetOwnerSpeed]] {{new}}
+
*[[osSetOwnerSpeed]]
 
*[[osSetSpeed]]
 
*[[osSetSpeed]]
 +
*[[osLocalTeleportAgent]] {{E}}
 
*[[osTeleportAgent]]  
 
*[[osTeleportAgent]]  
 
*[[osTeleportOwner]]  
 
*[[osTeleportOwner]]  
 +
*[[osReplaceAgentEnvironment]] {{new}}
 
{{multicol-end}}
 
{{multicol-end}}
  
Line 57: Line 59:
 
*[[osIsNpc]]
 
*[[osIsNpc]]
 
*[[osNpcCreate]]
 
*[[osNpcCreate]]
*[[osGetNpcList]] {{new}}
+
*[[osGetNpcList]]
 
*[[osNpcGetPos]]
 
*[[osNpcGetPos]]
 
*[[osNpcGetRot]]
 
*[[osNpcGetRot]]
Line 69: Line 71:
 
{{multicol-break}}
 
{{multicol-break}}
 
*[[osNpcSay]]
 
*[[osNpcSay]]
*[[osNpcSetProfileAbout]] {{new}}
+
*[[osNpcSayTo]]
*[[osNpcSetProfileImage]] {{new}}
+
*[[osNpcSetProfileAbout]]
 +
*[[osNpcSetProfileImage]]
 
*[[osNpcSetRot]]
 
*[[osNpcSetRot]]
 
*[[osNpcShout]]
 
*[[osNpcShout]]
Line 81: Line 84:
 
{{multicol-end}}
 
{{multicol-end}}
  
=== Prim Manipulations ===
+
=== Prim ===
 
{{multicol}}
 
{{multicol}}
*[[osClearInertia]] {{new}}
+
*[[osClearInertia]]
 +
*[[osClearObjectAnimations]] {{new}}
 +
*[[osDie]]
 
*[[osForceBreakAllLinks]]
 
*[[osForceBreakAllLinks]]
 
*[[osForceBreakLink]]  
 
*[[osForceBreakLink]]  
 
*[[osForceCreateLink]]
 
*[[osForceCreateLink]]
*[[osGetInertiaData]] {{new}}
+
*[[osGetInertiaData]]
 +
*[[osGetInventoryItemKey]]
 +
*[[osGetInventoryName]]
 
*[[osGetInventoryDesc]]
 
*[[osGetInventoryDesc]]
*[[osGetLinkNumber]] {{new}}
+
*[[osGetInventoryLastOwner]]
 +
*[[osGetLastChangedEventKey]]
 +
*[[osGetLinkNumber]]
 
*[[osGetLinkPrimitiveParams]]  
 
*[[osGetLinkPrimitiveParams]]  
 
*[[osGetPrimitiveParams]]  
 
*[[osGetPrimitiveParams]]  
 
*[[osGetRezzingObject]]
 
*[[osGetRezzingObject]]
*[[osIsUUID]]
+
*[[osGetSitActiveRange]] {{new}}
 +
*[[osGetLinkSitActiveRange]] {{new}}
 
{{multicol-break}}
 
{{multicol-break}}
 +
*[[osGetStandTarget]] {{new}}
 +
*[[osGetLinkStandTarget]] {{new}}
 
*[[osListenRegex]]
 
*[[osListenRegex]]
 
*[[osMessageAttachments]]
 
*[[osMessageAttachments]]
 
*[[osMessageObject]]
 
*[[osMessageObject]]
*[[osSetInertia]] {{new}}
+
*[[osSetInertia]]
*[[osSetInertiaAsBox]] {{new}}
+
*[[osSetInertiaAsBox]]
*[[osSetInertiaAsCylinder]] {{new}}
+
*[[osSetInertiaAsCylinder]]
*[[osSetInertiaAsSphere]] {{new}}
+
*[[osSetInertiaAsSphere]]
 
*[[osSetPrimitiveParams]]  
 
*[[osSetPrimitiveParams]]  
 
*[[osSetProjectionParams]]
 
*[[osSetProjectionParams]]
*[[osSetSpeed]]
+
*[[osSetSitActiveRange]] {{new}}
*[[osTeleportObject]] {{new}}
+
*[[osSetLinkSitActiveRange]] {{new}}
 +
*[[osSetStandTarget]] {{new}}
 +
*[[osSetLinkStandTarget]] {{new}}
 +
*[[osTeleportObject]]
 +
*[[osVolumeDetect]]
 
{{multicol-end}}
 
{{multicol-end}}
  
=== Prim Drawings ===
+
=== Prim Drawing / Dynamic Texture ===
 
{{multicol}}
 
{{multicol}}
 
*[[osDrawEllipse]]
 
*[[osDrawEllipse]]
*[[osDrawFilledEllipse]] {{new}}
+
*[[osDrawFilledEllipse]]
 
*[[osDrawFilledPolygon]]
 
*[[osDrawFilledPolygon]]
 
*[[osDrawFilledRectangle]]
 
*[[osDrawFilledRectangle]]
Line 118: Line 134:
 
*[[osDrawPolygon]]
 
*[[osDrawPolygon]]
 
*[[osDrawRectangle]]
 
*[[osDrawRectangle]]
*[[osDrawResetTransform]] {{new}}
+
*[[osDrawResetTransform]]
*[[osDrawRotationTransform]] {{new}}
+
*[[osDrawRotationTransform]]
{{multicol-break}}
+
*[[osDrawScaleTransform]]
*[[osDrawScaleTransform]] {{new}}
+
 
*[[osDrawText]]
 
*[[osDrawText]]
*[[osDrawTranslationTransform]] {{new}}
+
*[[osDrawTranslationTransform]]
 +
{{multicol-break}}
 
*[[osGetDrawStringSize]]
 
*[[osGetDrawStringSize]]
 
*[[osMovePen]]
 
*[[osMovePen]]
Line 131: Line 147:
 
*[[osSetPenColor]]
 
*[[osSetPenColor]]
 
*[[osSetPenSize]]
 
*[[osSetPenSize]]
 +
*[[osSetDynamicTextureData]] {{new}}
 +
*[[osSetDynamicTextureDataFace]] {{new}}
 +
*[[osSetDynamicTextureDataBlend]] {{new}}
 +
*[[osSetDynamicTextureDataBlendFace]]
 +
*[[osSetDynamicTextureURL]] {{new}}
 +
*[[osSetDynamicTextureURLBlend]] {{new}}
 +
*[[osSetDynamicTextureURLBlendFace]] {{new}}
 
{{multicol-end}}
 
{{multicol-end}}
  
=== Dynamic Textures ===
+
=== Notecard ===
*[[osSetDynamicTextureData]]
+
*[[osSetDynamicTextureDataBlend]]
+
*[[osSetDynamicTextureDataBlendFace]]
+
*[[osSetDynamicTextureDataFace]] {{new}}
+
*[[osSetDynamicTextureURL]]
+
*[[osSetDynamicTextureURLBlend]]
+
*[[osSetDynamicTextureURLBlendFace]]
+
 
+
=== Notecards ===
+
 
*[[osGetNotecard]]  
 
*[[osGetNotecard]]  
 
*[[osGetNotecardLine]]  
 
*[[osGetNotecardLine]]  
Line 148: Line 162:
 
*[[osMakeNotecard]]
 
*[[osMakeNotecard]]
  
=== Sounds ===
+
=== Sound ===
 +
{{multicol}}
 
*[[osAdjustSoundVolume]]
 
*[[osAdjustSoundVolume]]
 +
*[[osCollisionSound]]
 
*[[osLoopSound]]
 
*[[osLoopSound]]
 
*[[osLoopSoundMaster]]
 
*[[osLoopSoundMaster]]
 
*[[osLoopSoundSlave]]
 
*[[osLoopSoundSlave]]
 
*[[osPlaySound]]
 
*[[osPlaySound]]
 +
{{multicol-break}}
 
*[[osPlaySoundSlave]]
 
*[[osPlaySoundSlave]]
 
*[[osPreloadSound]]
 
*[[osPreloadSound]]
Line 160: Line 177:
 
*[[osTriggerSound]]
 
*[[osTriggerSound]]
 
*[[osTriggerSoundLimited]]
 
*[[osTriggerSoundLimited]]
 +
{{multicol-end}}
  
 
=== HTTP ===
 
=== HTTP ===
 
*[[osRequestSecureURL]]
 
*[[osRequestSecureURL]]
 
*[[osRequestURL]]
 
*[[osRequestURL]]
 +
*[[osSetContentType]]
  
=== Parcels ===
+
=== Parcel ===
 
*[[osParcelJoin]]  
 
*[[osParcelJoin]]  
 
*[[osParcelSubdivide]]  
 
*[[osParcelSubdivide]]  
 +
*[[osGetParcelDwell]]
 
*[[osSetParcelDetails]]
 
*[[osSetParcelDetails]]
  
=== Terrains ===
+
=== Terrain ===
 
*[[osGetTerrainHeight]]  
 
*[[osGetTerrainHeight]]  
 
*[[osSetTerrainHeight]]  
 
*[[osSetTerrainHeight]]  
Line 177: Line 197:
 
*[[osTerrainFlush]]
 
*[[osTerrainFlush]]
  
=== WindLights ===
+
=== Region Environment ===
 
{{multicol}}
 
{{multicol}}
 
*[[osGetCurrentSunHour]]  
 
*[[osGetCurrentSunHour]]  
*[[osGetSunParam]]  
+
*[[osGetApparentTime]] {{new}}
 +
*[[osGetApparentTimeString]] {{new}}
 +
*[[osGetApparentRegionTime]] {{new}}
 +
*[[osGetApparentRegionTimeString]] {{new}}
 +
 
 
*[[osGetWindParam]]  
 
*[[osGetWindParam]]  
*[[osSetEstateSunSettings]]
 
*[[osSetRegionSunSettings]]
 
 
{{multicol-break}}
 
{{multicol-break}}
 
*[[osSetRegionWaterHeight]]  
 
*[[osSetRegionWaterHeight]]  
*[[osSetSunParam]]
 
 
*[[osSetWindParam]]
 
*[[osSetWindParam]]
*[[osWindActiveModelPluginName]]  
+
*[[osWindActiveModelPluginName]]
 +
*[[osReplaceParcelEnvironment]] {{new}}
 +
*[[osReplaceRegionEnvironment]] {{new}}
 +
*[[osResetEnvironment]] {{new}}
 
{{multicol-end}}
 
{{multicol-end}}
  
=== Grid Information ===
+
=== Grid / Region Information ===
 
{{multicol}}
 
{{multicol}}
 
*[[osCheckODE]]
 
*[[osCheckODE]]
Line 201: Line 225:
 
*[[osGetGridNick]]  
 
*[[osGetGridNick]]  
 
*[[osGetMapTexture]]  
 
*[[osGetMapTexture]]  
*[[osGetPhysicsEngineName]] {{new}}
+
*[[osGetPhysicsEngineName]]
 
*[[osGetPhysicsEngineType]]
 
*[[osGetPhysicsEngineType]]
 
{{multicol-break}}
 
{{multicol-break}}
Line 224: Line 248:
 
*[[osSetPrimFloatOnWater]]
 
*[[osSetPrimFloatOnWater]]
  
=== Script Permissions (Pending Peer Review)===
+
=== Script ===
*[[osGrantScriptPermissions]]
+
*[[osResetAllScripts]]
*[[osRevokeScriptPermissions]]
+
 
 +
=== String Manipulation ===
 +
{{multicol}}
 +
* [[osFormatString]]
 +
* [[osMatchString]]
 +
* [[osRegexIsMatch]]
 +
* [[osReplaceString]]
 +
* [[osStringSubString]]
 +
* [[osStringStartsWith]]
 +
{{multicol-break}}
 +
* [[osStringEndsWith]]
 +
* [[osStringIndexOf]]
 +
* [[osStringLastIndexOf]]
 +
* [[osStringRemove]]
 +
* [[osStringReplace]]
 +
{{multicol-end}}
  
 
=== Misc ===
 
=== Misc ===
 
{{multicol}}
 
{{multicol}}
*[[osAngleBetween]] {{new}}
+
*[[osAngleBetween]]
*[[osCollisionSound]] {{new}}
+
*[[osApproxEquals]]
*[[osDie]] {{new}}
+
*[[osGetPSTWallclock]]
*[[osFormatString]]  
+
*[[osIsUUID]]
 +
*[[osIsNotValidNumber]]
 
*[[osKey2Name]]  
 
*[[osKey2Name]]  
 
*[[osList2Double]]  
 
*[[osList2Double]]  
*[[osMatchString]]
 
 
*[[osMax]]
 
*[[osMax]]
 
*[[osMin]]
 
*[[osMin]]
*[[osParseJSON]]
 
 
{{multicol-break}}
 
{{multicol-break}}
*[[osParseJSONNew]]
+
*[[osRound]]
*[[osReplaceString]]
+
*[[osSlerp]]
*[[osRegexIsMatch]]
+
*[[osRound]] {{new}}
+
*[[osSetContentType]]
+
*[[osSetStateEvents]]  
+
 
*[[osUnixTimeToTimestamp]]  
 
*[[osUnixTimeToTimestamp]]  
*[[osVecDistSquare]] {{new}}
+
*[[osVecDistSquare]]
*[[osVecMagSquare()]] {{new}}
+
*[[osVecMagSquare]]
*[[osVolumeDetect]] {{new}}
+
 
{{multicol-end}}
 
{{multicol-end}}
  
Line 260: Line 293:
 
*[[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]]
 +
*[[osGetSunParam]]
 +
*[[osSetEstateSunSettings]]
 +
*[[osSetRegionSunSettings]]
 +
*[[osSetSunParam]]
  
 
== See Also  ==
 
== See Also  ==

Latest revision as of 13:13, 3 July 2020

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

[edit] Prim Drawing / Dynamic Texture

[edit] Notecard

[edit] Sound

[edit] HTTP

[edit] Parcel

[edit] Terrain

[edit] Region Environment

[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 226 total.

(previous 200) (next 200)

O

O cont.

O cont.

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