Category:OSSL Functions

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
(Avatars)
m (Move osDie to Prim Manipulation)
 
(93 intermediate revisions by 5 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 r/21068 17th November, 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 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]] {{new}}
 
*[[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]] {{new}}
+
*[[osGetGender]]
*[[osGetHealRate]] {{new}}
+
*[[osGetHealRate]]
 
*[[osGetHealth]]
 
*[[osGetHealth]]
 
*[[osGetNumberOfAttachments]]
 
*[[osGetNumberOfAttachments]]
Line 45: Line 45:
 
*[[osKickAvatar]]
 
*[[osKickAvatar]]
 
*[[osOwnerSaveAppearance]]
 
*[[osOwnerSaveAppearance]]
*[[osSetHealRate]] {{new}}
+
*[[osSetHealRate]]
 
*[[osSetHealth]]
 
*[[osSetHealth]]
 +
*[[osSetOwnerSpeed]]
 
*[[osSetSpeed]]
 
*[[osSetSpeed]]
 +
*[[osLocalTeleportAgent]] {{E}}
 
*[[osTeleportAgent]]  
 
*[[osTeleportAgent]]  
 
*[[osTeleportOwner]]  
 
*[[osTeleportOwner]]  
Line 56: Line 58:
 
*[[osIsNpc]]
 
*[[osIsNpc]]
 
*[[osNpcCreate]]
 
*[[osNpcCreate]]
*[[osGetNpcList]] {{new}}
+
*[[osGetNpcList]]
 
*[[osNpcGetPos]]
 
*[[osNpcGetPos]]
 
*[[osNpcGetRot]]
 
*[[osNpcGetRot]]
Line 66: Line 68:
 
*[[osNpcRemove]]
 
*[[osNpcRemove]]
 
*[[osNpcSaveAppearance]]
 
*[[osNpcSaveAppearance]]
*[[osNpcSay]]
 
 
{{multicol-break}}
 
{{multicol-break}}
*[[osNpcSay (with channel)]]
+
*[[osNpcSay]]
*[[osNpcSetProfileAbout]] {{new}}
+
*[[osNpcSayTo]]
*[[osNpcSetProfileImage]] {{new}}
+
*[[osNpcSetProfileAbout]]
 +
*[[osNpcSetProfileImage]]
 
*[[osNpcSetRot]]
 
*[[osNpcSetRot]]
 
*[[osNpcShout]]
 
*[[osNpcShout]]
Line 81: Line 83:
 
{{multicol-end}}
 
{{multicol-end}}
  
=== Prim Manipulations ===
+
=== Prim Manipulation ===
 
{{multicol}}
 
{{multicol}}
*[[osClearInertia]] {{new}}
+
*[[osClearInertia]]
 +
*[[osDie]]
 
*[[osForceBreakAllLinks]]
 
*[[osForceBreakAllLinks]]
 
*[[osForceBreakLink]]  
 
*[[osForceBreakLink]]  
 
*[[osForceCreateLink]]
 
*[[osForceCreateLink]]
*[[osGetInertiaData]] {{new}}
+
*[[osGetInertiaData]]
 +
*[[osGetInventoryItemKey]] {{new}}
 +
*[[osGetInventoryName]] {{new}}
 
*[[osGetInventoryDesc]]
 
*[[osGetInventoryDesc]]
*[[osGetLinkNumber]] {{new}}
+
*[[osGetInventoryLastOwner]]
 +
*[[osGetLastChangedEventKey]] {{new}}
 +
*[[osGetLinkNumber]]
 
*[[osGetLinkPrimitiveParams]]  
 
*[[osGetLinkPrimitiveParams]]  
 +
{{multicol-break}}
 
*[[osGetPrimitiveParams]]  
 
*[[osGetPrimitiveParams]]  
 
*[[osGetRezzingObject]]
 
*[[osGetRezzingObject]]
*[[osIsUUID]]
 
{{multicol-break}}
 
 
*[[osListenRegex]]
 
*[[osListenRegex]]
 
*[[osMessageAttachments]]
 
*[[osMessageAttachments]]
 
*[[osMessageObject]]
 
*[[osMessageObject]]
*[[osSetInertia]] {{new}}
+
*[[osSetInertia]]
*[[osSetInertiaAsBox]] {{new}}
+
*[[osSetInertiaAsBox]]
*[[osSetInertiaAsCylinder]] {{new}}
+
*[[osSetInertiaAsCylinder]]
*[[osSetInertiaAsSphere]] {{new}}
+
*[[osSetInertiaAsSphere]]
 
*[[osSetPrimitiveParams]]  
 
*[[osSetPrimitiveParams]]  
 
*[[osSetProjectionParams]]
 
*[[osSetProjectionParams]]
*[[osSetSpeed]]
+
*[[osTeleportObject]]
*[[osTeleportObject]] {{new}}
+
 
{{multicol-end}}
 
{{multicol-end}}
  
=== Prim Drawings ===
+
=== Prim Drawing / Dynamic Texture ===
 
{{multicol}}
 
{{multicol}}
 
*[[osDrawEllipse]]
 
*[[osDrawEllipse]]
*[[osDrawFilledEllipse]] {{new}}
+
*[[osDrawFilledEllipse]]
 
*[[osDrawFilledPolygon]]
 
*[[osDrawFilledPolygon]]
 
*[[osDrawFilledRectangle]]
 
*[[osDrawFilledRectangle]]
Line 118: Line 123:
 
*[[osDrawPolygon]]
 
*[[osDrawPolygon]]
 
*[[osDrawRectangle]]
 
*[[osDrawRectangle]]
*[[osDrawResetTransform]] {{new}}
+
*[[osDrawResetTransform]]
*[[osDrawRotationTransform]] {{new}}
+
*[[osDrawRotationTransform]]
 +
*[[osDrawScaleTransform]]
 +
*[[osDrawText]]
 +
*[[osDrawTranslationTransform]]
 
{{multicol-break}}
 
{{multicol-break}}
*[[osDrawScaleTransform]] {{new}}
 
*[[osDrawText]]
 
*[[osDrawTranslationTransform]] {{new}}
 
 
*[[osGetDrawStringSize]]
 
*[[osGetDrawStringSize]]
 
*[[osMovePen]]
 
*[[osMovePen]]
Line 131: Line 136:
 
*[[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]]  
 
*[[osGetNumberOfNotecardLines]]
 
*[[osGetNumberOfNotecardLines]]
 
*[[osMakeNotecard]]
 
*[[osMakeNotecard]]
 +
 +
=== Sound ===
 +
{{multicol}}
 +
*[[osAdjustSoundVolume]]
 +
*[[osCollisionSound]]
 +
*[[osLoopSound]]
 +
*[[osLoopSoundMaster]]
 +
*[[osLoopSoundSlave]]
 +
*[[osPlaySound]]
 +
{{multicol-break}}
 +
*[[osPlaySoundSlave]]
 +
*[[osPreloadSound]]
 +
*[[osSetSoundRadius]]
 +
*[[osStopSound]]
 +
*[[osTriggerSound]]
 +
*[[osTriggerSoundLimited]]
 +
{{multicol-end}}
  
 
=== HTTP ===
 
=== HTTP ===
*[[osRequestSecureURL]] {{new}}
+
*[[osRequestSecureURL]]
*[[osRequestURL]] {{new}}
+
*[[osRequestURL]]
 +
*[[osSetContentType]]
  
=== Parcels ===
+
=== Parcel ===
 
*[[osParcelJoin]]  
 
*[[osParcelJoin]]  
 
*[[osParcelSubdivide]]  
 
*[[osParcelSubdivide]]  
 +
*[[osGetParcelDwell]] {{new}}
 
*[[osSetParcelDetails]]
 
*[[osSetParcelDetails]]
  
=== Terrains ===
+
=== Terrain ===
 
*[[osGetTerrainHeight]]  
 
*[[osGetTerrainHeight]]  
 
*[[osSetTerrainHeight]]  
 
*[[osSetTerrainHeight]]  
Line 164: Line 186:
 
*[[osTerrainFlush]]
 
*[[osTerrainFlush]]
  
=== WindLights ===
+
=== WindLight ===
 
{{multicol}}
 
{{multicol}}
 
*[[osGetCurrentSunHour]]  
 
*[[osGetCurrentSunHour]]  
Line 178: Line 200:
 
{{multicol-end}}
 
{{multicol-end}}
  
=== Grid Information ===
+
=== Grid / Region Information ===
 
{{multicol}}
 
{{multicol}}
 
*[[osCheckODE]]
 
*[[osCheckODE]]
Line 188: Line 210:
 
*[[osGetGridNick]]  
 
*[[osGetGridNick]]  
 
*[[osGetMapTexture]]  
 
*[[osGetMapTexture]]  
*[[osGetPhysicsEngineName]] {{new}}
+
*[[osGetPhysicsEngineName]]
*[[osGetPhysicsEngineType]] {{new}}
+
*[[osGetPhysicsEngineType]]
 
{{multicol-break}}
 
{{multicol-break}}
 
*[[osGetRegionMapTexture]]  
 
*[[osGetRegionMapTexture]]  
Line 196: Line 218:
 
*[[osGetScriptEngineName]]  
 
*[[osGetScriptEngineName]]  
 
*[[osGetSimulatorMemory]]  
 
*[[osGetSimulatorMemory]]  
*[[osGetSimulatorMemoryKB]] {{new}}
+
*[[osGetSimulatorMemoryKB]]
 
*[[osGetSimulatorVersion]]  
 
*[[osGetSimulatorVersion]]  
 
*[[osLoadedCreationDate]]  
 
*[[osLoadedCreationDate]]  
Line 205: Line 227:
 
=== Administration ===
 
=== Administration ===
 
*[[osConsoleCommand]]  
 
*[[osConsoleCommand]]  
*[[osRegionNotice]]  
+
*[[osRegionNotice]]
 
*[[osRegionRestart]]  
 
*[[osRegionRestart]]  
 
*[[osSetParcelMediaURL]]  
 
*[[osSetParcelMediaURL]]  
Line 211: Line 233:
 
*[[osSetPrimFloatOnWater]]
 
*[[osSetPrimFloatOnWater]]
  
=== Script Permissions (Pending Peer Review)===
+
=== Script ===
*[[osGrantScriptPermissions]]
+
*[[osResetAllScripts]] {{new}}
*[[osRevokeScriptPermissions]]
+
 
 +
=== 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 ===
 
{{multicol}}
 
{{multicol}}
*[[osCollisionSound]] {{new}}
+
*[[osAngleBetween]] {{new}}
*[[osDie]] {{new}}
+
*[[osApproxEquals]] {{new}}
*[[osFormatString]]  
+
*[[osGetPSTWallclock]] {{new}}
 +
*[[osIsUUID]]
 +
*[[osIsNotValidNumber]] {{new}}
 
*[[osKey2Name]]  
 
*[[osKey2Name]]  
 
*[[osList2Double]]  
 
*[[osList2Double]]  
*[[osMatchString]]
 
 
*[[osMax]]
 
*[[osMax]]
 
*[[osMin]]
 
*[[osMin]]
 
{{multicol-break}}
 
{{multicol-break}}
*[[osParseJSON]]
+
*[[osRound]] {{new}}
*[[osParseJSONNew]]
+
*[[osSlerp]] {{new}}
*[[osReplaceString]]
+
*[[osRegexIsMatch]]
+
*[[osSetContentType]]
+
*[[osSetStateEvents]]  
+
 
*[[osUnixTimeToTimestamp]]  
 
*[[osUnixTimeToTimestamp]]  
 +
*[[osVecDistSquare]] {{new}}
 +
*[[osVecMagSquare]] {{new}}
 
*[[osVolumeDetect]]
 
*[[osVolumeDetect]]
 
{{multicol-end}}
 
{{multicol-end}}
Line 243: 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  ==

Latest revision as of 05:47, 14 December 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