Category:OSSL Functions
From OpenSimulator
(→Grid Information) |
(→Sounds) |
||
(27 intermediate revisions by 4 users not shown) | |||
Line 36: | Line 36: | ||
*[[osGetAgentIP]] | *[[osGetAgentIP]] | ||
*[[osGetAgents]] | *[[osGetAgents]] | ||
+ | *[[osGetAvatarHomeURI]] | ||
*[[osGetAvatarList]] | *[[osGetAvatarList]] | ||
*[[osGetGender]] {{new}} | *[[osGetGender]] {{new}} | ||
Line 55: | Line 56: | ||
*[[osIsNpc]] | *[[osIsNpc]] | ||
*[[osNpcCreate]] | *[[osNpcCreate]] | ||
+ | *[[osGetNpcList]] {{new}} | ||
*[[osNpcGetPos]] | *[[osNpcGetPos]] | ||
*[[osNpcGetRot]] | *[[osNpcGetRot]] | ||
Line 64: | Line 66: | ||
*[[osNpcRemove]] | *[[osNpcRemove]] | ||
*[[osNpcSaveAppearance]] | *[[osNpcSaveAppearance]] | ||
− | |||
{{multicol-break}} | {{multicol-break}} | ||
− | *[[osNpcSay | + | *[[osNpcSay]] |
*[[osNpcSetProfileAbout]] {{new}} | *[[osNpcSetProfileAbout]] {{new}} | ||
*[[osNpcSetProfileImage]] {{new}} | *[[osNpcSetProfileImage]] {{new}} | ||
Line 81: | Line 82: | ||
=== Prim Manipulations === | === Prim Manipulations === | ||
{{multicol}} | {{multicol}} | ||
+ | *[[osClearInertia]] {{new}} | ||
*[[osForceBreakAllLinks]] | *[[osForceBreakAllLinks]] | ||
*[[osForceBreakLink]] | *[[osForceBreakLink]] | ||
*[[osForceCreateLink]] | *[[osForceCreateLink]] | ||
+ | *[[osGetInertiaData]] {{new}} | ||
*[[osGetInventoryDesc]] | *[[osGetInventoryDesc]] | ||
+ | *[[osGetLinkNumber]] {{new}} | ||
*[[osGetLinkPrimitiveParams]] | *[[osGetLinkPrimitiveParams]] | ||
*[[osGetPrimitiveParams]] | *[[osGetPrimitiveParams]] | ||
*[[osGetRezzingObject]] | *[[osGetRezzingObject]] | ||
− | |||
*[[osIsUUID]] | *[[osIsUUID]] | ||
+ | {{multicol-break}} | ||
*[[osListenRegex]] | *[[osListenRegex]] | ||
*[[osMessageAttachments]] | *[[osMessageAttachments]] | ||
*[[osMessageObject]] | *[[osMessageObject]] | ||
+ | *[[osSetInertia]] {{new}} | ||
+ | *[[osSetInertiaAsBox]] {{new}} | ||
+ | *[[osSetInertiaAsCylinder]] {{new}} | ||
+ | *[[osSetInertiaAsSphere]] {{new}} | ||
*[[osSetPrimitiveParams]] | *[[osSetPrimitiveParams]] | ||
*[[osSetProjectionParams]] | *[[osSetProjectionParams]] | ||
*[[osSetSpeed]] | *[[osSetSpeed]] | ||
+ | *[[osTeleportObject]] {{new}} | ||
{{multicol-end}} | {{multicol-end}} | ||
Line 101: | Line 110: | ||
{{multicol}} | {{multicol}} | ||
*[[osDrawEllipse]] | *[[osDrawEllipse]] | ||
+ | *[[osDrawFilledEllipse]] {{new}} | ||
*[[osDrawFilledPolygon]] | *[[osDrawFilledPolygon]] | ||
*[[osDrawFilledRectangle]] | *[[osDrawFilledRectangle]] | ||
Line 107: | Line 117: | ||
*[[osDrawPolygon]] | *[[osDrawPolygon]] | ||
*[[osDrawRectangle]] | *[[osDrawRectangle]] | ||
− | *[[ | + | *[[osDrawResetTransform]] {{new}} |
+ | *[[osDrawRotationTransform]] {{new}} | ||
{{multicol-break}} | {{multicol-break}} | ||
+ | *[[osDrawScaleTransform]] {{new}} | ||
+ | *[[osDrawText]] | ||
+ | *[[osDrawTranslationTransform]] {{new}} | ||
*[[osGetDrawStringSize]] | *[[osGetDrawStringSize]] | ||
*[[osMovePen]] | *[[osMovePen]] | ||
Line 122: | Line 136: | ||
*[[osSetDynamicTextureDataBlend]] | *[[osSetDynamicTextureDataBlend]] | ||
*[[osSetDynamicTextureDataBlendFace]] | *[[osSetDynamicTextureDataBlendFace]] | ||
+ | *[[osSetDynamicTextureDataFace]] {{new}} | ||
*[[osSetDynamicTextureURL]] | *[[osSetDynamicTextureURL]] | ||
*[[osSetDynamicTextureURLBlend]] | *[[osSetDynamicTextureURLBlend]] | ||
Line 131: | Line 146: | ||
*[[osGetNumberOfNotecardLines]] | *[[osGetNumberOfNotecardLines]] | ||
*[[osMakeNotecard]] | *[[osMakeNotecard]] | ||
+ | |||
+ | === Sounds === | ||
+ | *[[osAdjustSoundVolume]] {{new}} | ||
+ | *[[osLoopSound]] {{new}} | ||
+ | *[[osLoopSoundMaster]] {{new}} | ||
+ | *[[osLoopSoundSlave]] {{new}} | ||
+ | *[[osPlaySound]] {{new}} | ||
+ | *[[osPlaySoundSlave]] {{new}} | ||
+ | *[[osPreloadSound]] {{new}} | ||
+ | *[[osSetSoundRadius]] {{new}} | ||
+ | *[[osStopSound]] {{new}} | ||
+ | *[[osTriggerSound]] {{new}} | ||
+ | *[[osTriggerSoundLimited]] {{new}} | ||
=== HTTP === | === HTTP === | ||
− | *[[osRequestSecureURL]] | + | *[[osRequestSecureURL]] {{new}} |
− | *[[osRequestURL]] | + | *[[osRequestURL]] {{new}} |
=== Parcels === | === Parcels === | ||
Line 164: | Line 192: | ||
=== Grid Information === | === Grid Information === | ||
{{multicol}} | {{multicol}} | ||
+ | *[[osCheckODE]] | ||
*[[osGetGridCustom]] | *[[osGetGridCustom]] | ||
*[[osGetGridGatekeeperURI]] | *[[osGetGridGatekeeperURI]] | ||
Line 172: | Line 201: | ||
*[[osGetMapTexture]] | *[[osGetMapTexture]] | ||
*[[osGetPhysicsEngineName]] {{new}} | *[[osGetPhysicsEngineName]] {{new}} | ||
− | *[[osGetPhysicsEngineType]] | + | *[[osGetPhysicsEngineType]] {{new}} |
− | + | ||
{{multicol-break}} | {{multicol-break}} | ||
+ | *[[osGetRegionMapTexture]] | ||
*[[osGetRegionSize]] | *[[osGetRegionSize]] | ||
*[[osGetRegionStats]] | *[[osGetRegionStats]] | ||
*[[osGetScriptEngineName]] | *[[osGetScriptEngineName]] | ||
*[[osGetSimulatorMemory]] | *[[osGetSimulatorMemory]] | ||
+ | *[[osGetSimulatorMemoryKB]] {{new}} | ||
*[[osGetSimulatorVersion]] | *[[osGetSimulatorVersion]] | ||
*[[osLoadedCreationDate]] | *[[osLoadedCreationDate]] | ||
Line 199: | Line 229: | ||
=== Misc === | === Misc === | ||
{{multicol}} | {{multicol}} | ||
− | *[[osCollisionSound]] | + | *[[osAngleBetween]] {{new}} |
+ | *[[osCollisionSound]] {{new}} | ||
*[[osDie]] {{new}} | *[[osDie]] {{new}} | ||
*[[osFormatString]] | *[[osFormatString]] | ||
Line 207: | Line 238: | ||
*[[osMax]] | *[[osMax]] | ||
*[[osMin]] | *[[osMin]] | ||
− | |||
*[[osParseJSON]] | *[[osParseJSON]] | ||
+ | {{multicol-break}} | ||
*[[osParseJSONNew]] | *[[osParseJSONNew]] | ||
*[[osReplaceString]] | *[[osReplaceString]] | ||
*[[osRegexIsMatch]] | *[[osRegexIsMatch]] | ||
+ | *[[osRound]] {{new}} | ||
*[[osSetContentType]] | *[[osSetContentType]] | ||
*[[osSetStateEvents]] | *[[osSetStateEvents]] | ||
*[[osUnixTimeToTimestamp]] | *[[osUnixTimeToTimestamp]] | ||
+ | *[[osVecDistSquare]] {{new}} | ||
+ | *[[osVecMagSquare(a)]] {{new}} | ||
+ | *[[osVolumeDetect]] | ||
{{multicol-end}} | {{multicol-end}} | ||
Revision as of 20:05, 9 April 2018
Contents |
Current OSSL Functions Implemented
Updated OSSL Functions as of OpenSim DEV 0.7.4 r/21068 17th November, 2012
! 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.)
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 has a threat level associated with it. See Threat level for more information and an overview of each function's level.
Avatars
NPCs
Prim Manipulations
Prim Drawings
Dynamic Textures
- osSetDynamicTextureData
- osSetDynamicTextureDataBlend
- osSetDynamicTextureDataBlendFace
- osSetDynamicTextureDataFace NEW!
- osSetDynamicTextureURL
- osSetDynamicTextureURLBlend
- osSetDynamicTextureURLBlendFace
Notecards
Sounds
- osAdjustSoundVolume NEW!
- osLoopSound NEW!
- osLoopSoundMaster NEW!
- osLoopSoundSlave NEW!
- osPlaySound NEW!
- osPlaySoundSlave NEW!
- osPreloadSound NEW!
- osSetSoundRadius NEW!
- osStopSound NEW!
- osTriggerSound NEW!
- osTriggerSoundLimited NEW!
HTTP
- osRequestSecureURL NEW!
- osRequestURL NEW!
Parcels
Terrains
WindLights
Grid Information
Administration
- osConsoleCommand
- osRegionNotice
- osRegionRestart
- osSetParcelMediaURL
- osSetParcelSIPAddress
- osSetPrimFloatOnWater
Script Permissions (Pending Peer Review)
Misc
Deprecated
osParcelSetDetails- Use osSetParcelDetailsosSetPenColour- Use osSetPenColorosSunGetParam- Use osGetSunParamosSunSetParam- Use osSetSunParamosTerrainGetHeight- Use osGetTerrainHeightosTerrainSetHeight- Use osSetTerrainHeight
See Also
- LSL/OSSL Status Page
- OSSL