Category:OSSL Functions

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
(Grid Information)
(Misc)
 
(150 intermediate revisions by 10 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 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 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 an threat level associated to it. See [[Threat level]] for more information and an overview of each function's level.
 
  
 
=== Avatars ===
 
=== Avatars ===
 
{{multicol}}
 
{{multicol}}
*[[osGetAgentIP]]
+
*[[osAgentSaveAppearance]]
*[[osGetAgents]]
+
*[[osGetAvatarList]]  
+
 
*[[osAvatarName2Key]]
 
*[[osAvatarName2Key]]
 
*[[osAvatarPlayAnimation]]  
 
*[[osAvatarPlayAnimation]]  
 
*[[osAvatarStopAnimation]]  
 
*[[osAvatarStopAnimation]]  
*[[osAgentSaveAppearance]]
 
*[[osOwnerSaveAppearance]]
 
*[[osTeleportAgent]]
 
*[[osTeleportOwner]]
 
*[[osKickAvatar]]
 
 
*[[osCauseDamage]]  
 
*[[osCauseDamage]]  
 
*[[osCauseHealing]]
 
*[[osCauseHealing]]
{{multicol-break}}
+
*[[osDetectedCountry]] {{new}}
*[[osGetHealth]]
+
*[[osDropAttachment]]
*[[osSetSpeed]]
+
*[[osDropAttachmentAt]]
*[[osInviteToGroup]]
+
 
*[[osEjectFromGroup]]
 
*[[osEjectFromGroup]]
 
*[[osForceAttachToAvatar]]
 
*[[osForceAttachToAvatar]]
Line 39: Line 29:
 
*[[osForceAttachToOtherAvatarFromInventory]]
 
*[[osForceAttachToOtherAvatarFromInventory]]
 
*[[osForceDetachFromAvatar]]
 
*[[osForceDetachFromAvatar]]
*[[osGetNumberOfAttachments]]
 
*[[osDropAttachment]]
 
*[[osDropAttachmentAt]]
 
 
*[[osForceDropAttachment]]
 
*[[osForceDropAttachment]]
 
*[[osForceDropAttachmentAt]]
 
*[[osForceDropAttachmentAt]]
 +
*[[osForceOtherSit]]
 +
*[[osGetAgentIP]]
 +
{{multicol-break}}
 +
*[[osGetAgents]]
 +
*[[osGetAgentCountry]] {{new}}
 +
*[[osGetAvatarHomeURI]]
 +
*[[osGetAvatarList]]
 +
*[[osGetGender]]
 +
*[[osGetHealRate]]
 +
*[[osGetHealth]]
 +
*[[osGetNumberOfAttachments]]
 +
*[[osInviteToGroup]]
 +
*[[osKickAvatar]]
 +
*[[osOwnerSaveAppearance]]
 +
*[[osSetHealRate]]
 +
*[[osSetHealth]]
 +
*[[osSetOwnerSpeed]]
 +
*[[osSetSpeed]]
 +
*[[osLocalTeleportAgent]] {{E}}
 +
*[[osTeleportAgent]]
 +
*[[osTeleportOwner]]
 
{{multicol-end}}
 
{{multicol-end}}
  
 
=== NPCs ===
 
=== NPCs ===
 
{{multicol}}
 
{{multicol}}
 +
*[[osIsNpc]]
 
*[[osNpcCreate]]
 
*[[osNpcCreate]]
 +
*[[osGetNpcList]]
 
*[[osNpcGetPos]]
 
*[[osNpcGetPos]]
 
*[[osNpcGetRot]]
 
*[[osNpcGetRot]]
Line 55: Line 65:
 
*[[osNpcMoveTo]]
 
*[[osNpcMoveTo]]
 
*[[osNpcMoveToTarget]]
 
*[[osNpcMoveToTarget]]
 +
*[[osNpcPlayAnimation]]
 
*[[osNpcRemove]]
 
*[[osNpcRemove]]
 
*[[osNpcSaveAppearance]]
 
*[[osNpcSaveAppearance]]
*[[osNpcSay]]
 
*[[osNpcSay (with channel)]]
 
 
{{multicol-break}}
 
{{multicol-break}}
 +
*[[osNpcSay]]
 +
*[[osNpcSayTo]]
 +
*[[osNpcSetProfileAbout]]
 +
*[[osNpcSetProfileImage]]
 
*[[osNpcSetRot]]
 
*[[osNpcSetRot]]
 
*[[osNpcShout]]
 
*[[osNpcShout]]
Line 65: Line 78:
 
*[[osNpcStand]]
 
*[[osNpcStand]]
 
*[[osNpcStopMoveToTarget]]
 
*[[osNpcStopMoveToTarget]]
*[[osIsNpc]]
 
*[[osNpcPlayAnimation]]
 
 
*[[osNpcStopAnimation]]
 
*[[osNpcStopAnimation]]
 
*[[osNpcTouch]]
 
*[[osNpcTouch]]
Line 72: Line 83:
 
{{multicol-end}}
 
{{multicol-end}}
  
=== Prim Manipulations ===
+
=== Prim Manipulation ===
 +
{{multicol}}
 +
*[[osClearInertia]]
 +
*[[osForceBreakAllLinks]]
 +
*[[osForceBreakLink]]
 +
*[[osForceCreateLink]]
 +
*[[osGetInertiaData]]
 +
*[[osGetInventoryItemKey]] {{new}}
 +
*[[osGetInventoryName]] {{new}}
 +
*[[osGetInventoryDesc]]
 +
*[[osGetInventoryLastOwner]]
 +
*[[osGetLastChangedEventKey]] {{new}}
 +
*[[osGetLinkNumber]]
 +
*[[osGetLinkPrimitiveParams]]
 +
{{multicol-break}}
 
*[[osGetPrimitiveParams]]  
 
*[[osGetPrimitiveParams]]  
*[[osGetLinkPrimitiveParams]]
 
*[[osSetPrimitiveParams]]
 
*[[osSetProjectionParams]]
 
*[[osSetSpeed]]
 
*[[osMessageObject]]
 
*[[osGetInventoryDesc]]
 
 
*[[osGetRezzingObject]]
 
*[[osGetRezzingObject]]
*[[osIsUUID]]
 
 
*[[osListenRegex]]
 
*[[osListenRegex]]
 
*[[osMessageAttachments]]
 
*[[osMessageAttachments]]
 +
*[[osMessageObject]]
 +
*[[osSetInertia]]
 +
*[[osSetInertiaAsBox]]
 +
*[[osSetInertiaAsCylinder]]
 +
*[[osSetInertiaAsSphere]]
 +
*[[osSetPrimitiveParams]]
 +
*[[osSetProjectionParams]]
 +
*[[osTeleportObject]]
 +
{{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]]
  
=== Parcels ===
+
=== Sound ===
 +
{{multicol}}
 +
*[[osAdjustSoundVolume]]
 +
*[[osCollisionSound]]
 +
*[[osLoopSound]]
 +
*[[osLoopSoundMaster]]
 +
*[[osLoopSoundSlave]]
 +
*[[osPlaySound]]
 +
{{multicol-break}}
 +
*[[osPlaySoundSlave]]
 +
*[[osPreloadSound]]
 +
*[[osSetSoundRadius]]
 +
*[[osStopSound]]
 +
*[[osTriggerSound]]
 +
*[[osTriggerSoundLimited]]
 +
{{multicol-end}}
 +
 
 +
=== HTTP ===
 +
*[[osRequestSecureURL]]
 +
*[[osRequestURL]]
 +
*[[osSetContentType]]
 +
 
 +
=== Parcel ===
 
*[[osParcelJoin]]  
 
*[[osParcelJoin]]  
 
*[[osParcelSubdivide]]  
 
*[[osParcelSubdivide]]  
 +
*[[osGetParcelDwell]] {{new}}
 
*[[osSetParcelDetails]]
 
*[[osSetParcelDetails]]
  
=== Terrains ===
+
=== Terrain ===
 
*[[osGetTerrainHeight]]  
 
*[[osGetTerrainHeight]]  
 
*[[osSetTerrainHeight]]  
 
*[[osSetTerrainHeight]]  
*[[osTerrainFlush]]
 
 
*[[osSetTerrainTexture]]
 
*[[osSetTerrainTexture]]
 
*[[osSetTerrainTextureHeight]]
 
*[[osSetTerrainTextureHeight]]
 +
*[[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 Information ===
+
=== Grid / Region Information ===
 
{{multicol}}
 
{{multicol}}
 +
*[[osCheckODE]]
 +
*[[osGetGridCustom]]
 +
*[[osGetGridGatekeeperURI]]
 +
*[[osGetGridHomeURI]]
 +
*[[osGetGridLoginURI]]
 
*[[osGetGridName]]  
 
*[[osGetGridName]]  
 
*[[osGetGridNick]]  
 
*[[osGetGridNick]]  
*[[osGetGridLoginURI]]
 
*[[osGetGridHomeURI]]
 
*[[osGetGridGatekeeperURI]]
 
*[[osGetGridCustom]]
 
*[[osGetScriptEngineName]]
 
*[[osGetSimulatorVersion]]
 
*[[osGetSimulatorMemory]]
 
{{multicol-break}}
 
 
*[[osGetMapTexture]]  
 
*[[osGetMapTexture]]  
 +
*[[osGetPhysicsEngineName]]
 +
*[[osGetPhysicsEngineType]]
 +
{{multicol-break}}
 
*[[osGetRegionMapTexture]]  
 
*[[osGetRegionMapTexture]]  
 
*[[osGetRegionSize]]
 
*[[osGetRegionSize]]
 
*[[osGetRegionStats]]  
 
*[[osGetRegionStats]]  
 +
*[[osGetScriptEngineName]]
 +
*[[osGetSimulatorMemory]]
 +
*[[osGetSimulatorMemoryKB]]
 +
*[[osGetSimulatorVersion]]
 
*[[osLoadedCreationDate]]  
 
*[[osLoadedCreationDate]]  
*[[osLoadedCreationTime]]
 
 
*[[osLoadedCreationID]]  
 
*[[osLoadedCreationID]]  
*[[osGetPhysicsEngineType]]
+
*[[osLoadedCreationTime]]  
 
{{multicol-end}}
 
{{multicol-end}}
  
 
=== Administration ===
 
=== Administration ===
*[[osRegionNotice]]
 
*[[osRegionRestart]]
 
 
*[[osConsoleCommand]]  
 
*[[osConsoleCommand]]  
 +
*[[osRegionNotice]]
 +
*[[osRegionRestart]]
 
*[[osSetParcelMediaURL]]  
 
*[[osSetParcelMediaURL]]  
*[[osSetPrimFloatOnWater]]
 
 
*[[osSetParcelSIPAddress]]
 
*[[osSetParcelSIPAddress]]
 +
*[[osSetPrimFloatOnWater]]
 +
 +
=== 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 ===
 
{{multicol}}
 
{{multicol}}
*[[osSetStateEvents]]  
+
*[[osAngleBetween]] {{new}}
*[[osList2Double]]  
+
*[[osApproxEquals]] {{new}}
 +
*[[osDie]]
 +
*[[osGetPSTWallclock]] {{new}}
 +
*[[osIsUUID]]
 +
*[[osIsNotValidNumber]] {{new}}
 
*[[osKey2Name]]  
 
*[[osKey2Name]]  
*[[osFormatString]]
+
*[[osList2Double]]  
*[[osMatchString]]
+
*[[osUnixTimeToTimestamp]]
+
*[[osParseJSON]]
+
{{multicol-break}}
+
*[[osParseJSONNew]]
+
 
*[[osMax]]
 
*[[osMax]]
 
*[[osMin]]
 
*[[osMin]]
*[[osRegexIsMatch]]
+
{{multicol-break}}
*[[osReplaceString]]
+
*[[osRound]] {{new}}
*[[osSetContentType]]
+
*[[osSlerp]] {{new}}
 +
*[[osUnixTimeToTimestamp]]
 +
*[[osVecDistSquare]] {{new}}
 +
*[[osVecMagSquare]] {{new}}
 +
*[[osVolumeDetect]]
 
{{multicol-end}}
 
{{multicol-end}}
  
Line 200: 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 224: Line 305:
 
** [[OSSL Script Library/ModSendCommand|modSendCommand()]]
 
** [[OSSL Script Library/ModSendCommand|modSendCommand()]]
 
** [[OSSL Script Library/ModInvoke|Custom functions using modInvoke()]]
 
** [[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