Category:OSSL Functions

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
m
m (Prim: Adding osGetLinkInventoryKey)
 
(319 intermediate revisions by 23 users not shown)
Line 1: Line 1:
This category holds all the documented OSSL functions. They are to be moved from the current [[OSSL]] category to this one.
+
{{Quicklinks}}
 +
<br />
 +
<div style="background-color:#FFA500; padding:10px; padding-bottom:5px; border: 1px #FF544F solid">
 +
This information is relative to (almost) the last OpenSimulator Development version. In some cases it may not apply to older versions.
 +
</div>
  
 +
== OSSL function permissions ==
 +
Several OSSL functions have execution permission control to prevent abusive or dangerous use.
  
 +
This is controlled by files osslDefaultEnable.ini and osslEnable.ini, by default in folder bin/config-include<br>
 +
The use logic of these two files is identical to OpenSimDefaults.ini and OpenSim.ini
 +
 +
Older OpenSimulator versions only used file osslEnable.ini.<br>
 +
Some older OpenSimulator versions had checks for all OSSLfunctions.<br>
 +
That made no sense for many functions, so now many are always allowed wasting no time on useless checks.<br>
 +
 +
For details about these permissions, please read file OpenSimDefaults.ini
 +
 +
= osslDefaultEnable.ini =
 +
This file contains the defaults for OSSL execution permissions set by OpenSimulator dev team.<br>
 +
Instead of changing defaults defined in code, the OpenSimulator dev team may decide to just make changes in this file.<br>
 +
This file was not present on older OpenSimulator versions.<br>
 +
If you need to change permissions, copy the respective entry to osslEnable.ini and modify there.<br>
 +
 +
= osslEnable.ini =
 +
This file contains the local overrides for OSSL permissions.<br>
 +
It is read after osslDefaultEnable.ini, and any entry on it replaces the old one.<br>
 +
This file is not provided on code packages, an osslEnable.ini.example is.<br>
 +
At first time setup, you will need to copy the example file to osslEnable.ini and then edit it for your needs, using osslDefaults.ini as reference.<br>
 +
This was the only file used on older OpenSimulator versions.
 +
 +
== Current OSSL Functions Implemented  ==
 +
 +
=== Avatars ===
 +
{{multicol}}
 +
 +
* [[osAgentSaveAppearance]]
 +
* [[osAvatarName2Key]]
 +
* [[osAvatarPlayAnimation]]
 +
* [[osAvatarStopAnimation]]
 +
* [[osAvatarType]]
 +
* [[osCauseDamage]]
 +
* [[osCauseHealing]]
 +
* [[osDetectedCountry]]
 +
* [[osDropAttachment]]
 +
* [[osDropAttachmentAt]]
 +
* [[osEjectFromGroup]]
 +
* [[osForceAttachToAvatar]]
 +
* [[osForceAttachToAvatarFromInventory]]
 +
* [[osForceAttachToOtherAvatarFromInventory]]
 +
* [[osForceDetachFromAvatar]]
 +
* [[osForceDropAttachment]]
 +
* [[osForceDropAttachmentAt]]
 +
* [[osForceOtherSit]]
 +
* [[osGetAgentIP]]
 +
* [[osGetAgents]]
 +
{{multicol-break}}
 +
* [[osGetAgentCountry]]
 +
* [[osGetAvatarHomeURI]]
 +
* [[osGetAvatarList]]
 +
* [[osGetGender]]
 +
* [[osGetHealRate]]
 +
* [[osGetHealth]]
 +
* [[osGetNumberOfAttachments]]
 +
* [[osGrantScriptPermissions]]
 +
* [[osInviteToGroup]]
 +
* [[osKickAvatar]]
 +
* [[osOwnerSaveAppearance]]
 +
* [[osRevokeScriptPermissions]]
 +
* [[osSetHealRate]]
 +
* [[osSetHealth]]
 +
* [[osSetOwnerSpeed]]
 +
* [[osSetSpeed]]
 +
* [[osLocalTeleportAgent]]
 +
* [[osTeleportAgent]]
 +
* [[osTeleportOwner]]
 +
* [[osReplaceAgentEnvironment]]
 +
{{multicol-end}}
 +
 +
=== NPCs ===
 +
{{multicol}}
 +
* [[osIsNpc]]
 +
* [[osNpcCreate]]
 +
* [[osGetNpcList]]
 +
* [[osNpcGetPos]]
 +
* [[osNpcGetRot]]
 +
* [[osNpcGetOwner]]
 +
* [[osNpcLookAt]] {{E}}
 +
* [[osNpcLoadAppearance]]
 +
* [[osNpcMoveTo]]
 +
* [[osNpcMoveToTarget]]
 +
* [[osNpcPlayAnimation]]
 +
* [[osNpcRemove]]
 +
* [[osNpcSaveAppearance]]
 +
{{multicol-break}}
 +
* [[osNpcSay]]
 +
* [[osNpcSayTo]]
 +
* [[osNpcSetProfileAbout]]
 +
* [[osNpcSetProfileImage]]
 +
* [[osNpcSetRot]]
 +
* [[osNpcShout]]
 +
* [[osNpcSit]]
 +
* [[osNpcStand]]
 +
* [[osNpcStopMoveToTarget]]
 +
* [[osNpcStopAnimation]]
 +
* [[osNpcTouch]]
 +
* [[osNpcWhisper]]
 +
{{multicol-end}}
 +
 +
=== Prim ===
 +
{{multicol}}
 +
* [[osClearInertia]]
 +
* [[osClearObjectAnimations]]
 +
* [[osDie]]
 +
* [[osForceBreakAllLinks]]
 +
* [[osForceBreakLink]]
 +
* [[osForceCreateLink]]
 +
* [[osGetInertiaData]]
 +
* [[osGetInventoryItemKey]]
 +
* [[osGetInventoryName]]
 +
* [[osGetInventoryNames]] {{new}}
 +
* [[osGetInventoryItemKeys]] {{new}}
 +
* [[osGetInventoryDesc]]
 +
* [[osGetInventoryLastOwner]]
 +
* [[osGetLinkInventoryName]] {{new}}
 +
* [[osGetLinkInventoryNames]] {{new}}
 +
* [[osGetInventoryItemKey| osGetLinkInventoryItemKey]] {{new}}
 +
* [[osGetInventoryItemKeys | osGetLinkInventoryItemKeys]] {{new}}
 +
* [[osGetLinkInventoryKey]] {{new}}
 +
* [[osGetLinkInventoryDesc]] {{new}}
 +
* [[osGiveLinkInventory]] {{new}}
 +
* [[osGiveLinkInventoryList]] {{new}}
 +
* [[osRemoveLinkInventory]] {{new}}
 +
* [[osGetLastChangedEventKey]]
 +
* [[osGetLinkNumber]]
 +
* [[osGetLinkPrimitiveParams]]
 +
* [[osGetPrimitiveParams]]
 +
{{multicol-break}}
 +
* [[osGetRezzingObject]]
 +
* [[osGetSitActiveRange]]
 +
* [[osGetLinkSitActiveRange]]
 +
* [[osGetSitTargetPos]] {{new}}
 +
* [[osGetSitTargetRot]] {{new}}
 +
* [[osGetStandTarget]]
 +
* [[osGetLinkStandTarget]]
 +
* [[osLinkParticleSystem]] {{new}}
 +
* [[osMessageAttachments]]
 +
* [[osMessageObject]]
 +
* [[osParticleSystem]] {{new}}
 +
* [[osSetInertia]]
 +
* [[osSetInertiaAsBox]]
 +
* [[osSetInertiaAsCylinder]]
 +
* [[osSetInertiaAsSphere]]
 +
* [[osSetPrimitiveParams]]
 +
* [[osSetProjectionParams]]
 +
* [[osSetSitActiveRange]]
 +
* [[osSetLinkSitActiveRange]]
 +
* [[osSetStandTarget]]
 +
* [[osSetLinkStandTarget]]
 +
* [[osTeleportObject]]
 +
* [[osVolumeDetect]]
 +
* [[osGetPrimCount]] {{new}}
 +
* [[osGetSittingAvatarsCount]] {{new}}
 +
 +
{{multicol-end}}
 +
 +
=== Prim Drawing / Dynamic Texture ===
 +
{{multicol}}
 +
* [[osDrawEllipse]]
 +
* [[osDrawFilledEllipse]]
 +
* [[osDrawFilledPolygon]]
 +
* [[osDrawFilledRectangle]]
 +
* [[osDrawImage]]
 +
* [[osDrawLine]]
 +
* [[osDrawPolygon]]
 +
* [[osDrawRectangle]]
 +
* [[osDrawResetTransform]]
 +
* [[osDrawRotationTransform]]
 +
* [[osDrawScaleTransform]]
 +
* [[osDrawText]]
 +
* [[osDrawTranslationTransform]]
 +
* [[osGetDrawStringSize]]
 +
{{multicol-break}}
 +
* [[osMovePen]]
 +
* [[osSetFontName]]
 +
* [[osSetFontSize]]
 +
* [[osSetPenCap]]
 +
* [[osSetPenColor]]
 +
* [[osSetPenSize]]
 +
* [[osSetDynamicTextureData]]
 +
* [[osSetDynamicTextureDataFace]]
 +
* [[osSetDynamicTextureDataBlend]]
 +
* [[osSetDynamicTextureDataBlendFace]]
 +
* [[osSetDynamicTextureURL]]
 +
* [[osSetDynamicTextureURLBlend]]
 +
* [[osSetDynamicTextureURLBlendFace]]
 +
{{multicol-end}}
 +
 +
=== Notecard ===
 +
* [[osGetNotecard]]
 +
* [[osGetNotecardLine]]
 +
* [[osGetNumberOfNotecardLines]]
 +
* [[osMakeNotecard]]
 +
 +
=== Sound ===
 +
{{multicol}}
 +
* [[osAdjustSoundVolume]]
 +
* [[osCollisionSound]]
 +
* [[osLoopSound]]
 +
* [[osLoopSoundMaster]]
 +
* [[osLoopSoundSlave]]
 +
* [[osPlaySound]]
 +
{{multicol-break}}
 +
* [[osPlaySoundSlave]]
 +
* [[osPreloadSound]]
 +
* [[osSetSoundRadius]]
 +
* [[osStopSound]]
 +
* [[osTriggerSound]]
 +
* [[osTriggerSoundLimited]]
 +
{{multicol-end}}
 +
 +
=== HTTP ===
 +
* [[osRequestSecureURL]]
 +
* [[osRequestURL]]
 +
* [[osSetContentType]]
 +
 +
=== Parcel ===
 +
{{multicol}}
 +
* [[osParcelJoin]]
 +
* [[osParcelSubdivide]]
 +
* [[osGetParcelDwell]]
 +
{{multicol-break}}
 +
* [[osSetParcelDetails]]
 +
* [[osGetParcelDetails]]
 +
* [[osGetParcelIDs]]
 +
* [[osGetParcelID]]
 +
{{multicol-end}}
 +
 +
=== Terrain ===
 +
* [[osGetTerrainHeight]]
 +
* [[osSetTerrainHeight]]
 +
* [[osSetTerrainTexture]]
 +
* [[osSetTerrainTextureHeight]]
 +
* [[osTerrainFlush]]
 +
 +
=== Region / Parcel Environment ===
 +
{{multicol}}
 +
* [[osGetCurrentSunHour]]
 +
* [[osGetApparentTime]]
 +
* [[osGetApparentTimeString]]
 +
* [[osGetApparentRegionTime]]
 +
* [[osGetApparentRegionTimeString]]
 +
* [[osGetWindParam]]
 +
{{multicol-break}}
 +
* [[osSetRegionWaterHeight]]
 +
* [[osSetWindParam]]
 +
* [[osWindActiveModelPluginName]]
 +
* [[osReplaceParcelEnvironment]]
 +
* [[osReplaceRegionEnvironment]]
 +
* [[osResetEnvironment]]
 +
{{multicol-end}}
 +
 +
=== Grid / Region Information ===
 +
{{multicol}}
 +
* [[osCheckODE]]
 +
* [[osGetGridCustom]]
 +
* [[osGetGridGatekeeperURI]]
 +
* [[osGetGridHomeURI]]
 +
* [[osGetGridLoginURI]]
 +
* [[osGetGridName]]
 +
* [[osGetGridNick]]
 +
* [[osGetMapTexture]]
 +
* [[osGetPhysicsEngineName]]
 +
* [[osGetPhysicsEngineType]]
 +
{{multicol-break}}
 +
* [[osGetRegionMapTexture]]
 +
* [[osGetRegionSize]]
 +
* [[osGetRegionStats]]
 +
* [[osGetScriptEngineName]]
 +
* [[osGetSimulatorMemory]]
 +
* [[osGetSimulatorMemoryKB]]
 +
* [[osGetSimulatorVersion]]
 +
* [[osLoadedCreationDate]]
 +
* [[osLoadedCreationID]]
 +
* [[osLoadedCreationTime]]
 +
{{multicol-end}}
 +
 +
=== Administration ===
 +
* [[osConsoleCommand]]
 +
* [[osRegionNotice]]
 +
* [[osRegionRestart]]
 +
* [[osSetParcelMediaURL]]
 +
* [[osSetParcelMusicURL]]
 +
* [[osSetParcelSIPAddress]]
 +
 +
=== Script ===
 +
*[[osResetAllScripts]]
 +
 +
=== String Manipulation ===
 +
{{multicol}}
 +
* [[osFormatString]]
 +
* [[osListenRegex]]
 +
* [[osMatchString]]
 +
* [[osRegexIsMatch]]
 +
* [[osReplaceString]]
 +
* [[osStringSubString]]
 +
{{multicol-break}}
 +
* [[osStringStartsWith]]
 +
* [[osStringEndsWith]]
 +
* [[osStringIndexOf]]
 +
* [[osStringLastIndexOf]]
 +
* [[osStringRemove]]
 +
* [[osStringReplace]]
 +
{{multicol-end}}
 +
 +
=== Misc ===
 +
{{multicol}}
 +
* [[osAESEncrypt]] {{new}}
 +
* [[osAESDecrypt]] {{new}}
 +
* [[osAESEncryptTo]] {{new}}
 +
* [[osAESDecryptFrom]] {{new}}
 +
* [[osAngleBetween]]
 +
* [[osApproxEquals]]
 +
* [[osGetPSTWallclock]]
 +
* [[osListSortInPlace]]
 +
* [[osListSortInPlaceStrided]] {{new}}
 +
* [[osIsUUID]]
 +
{{multicol-break}}
 +
* [[osIsNotValidNumber]]
 +
* [[osKey2Name]]
 +
* [[osMax]]
 +
* [[osMin]]
 +
* [[osRound]]
 +
* [[osSHA256]]
 +
* [[osSlerp]]
 +
* [[osUnixTimeToTimestamp]]
 +
* [[osVecDistSquare]]
 +
* [[osVecMagSquare]]
 +
{{multicol-end}}
 +
 +
=== Deprecated ===
 +
* [[osParcelSetDetails|<strike>osParcelSetDetails</strike>]] - Use [[osSetParcelDetails]]
 +
* [[osSetPenColour|<strike>osSetPenColour</strike>]] - Use [[osSetPenColor]]
 +
* [[osSunGetParam|<strike>osSunGetParam</strike>]] - Use [[osGetSunParam]]
 +
* [[osSunSetParam|<strike>osSunSetParam</strike>]] - Use [[osSetSunParam]]
 +
* [[osTerrainGetHeight|<strike>osTerrainGetHeight</strike>]] - Use [[osGetTerrainHeight]]
 +
* [[osTerrainSetHeight|<strike>osTerrainSetHeight</strike>]] - Use [[osSetTerrainHeight]]
 +
*<strike>osWindParamGet</strike> - Use [[osGetWindParam]]
 +
*<strike>osWindParamSet</strike> - Use [[osSetWindParam]]
 +
* [[osList2Double|<strike>osList2Double</strike>]] - Use llList2Float
 +
* [[osGetSunParam]]
 +
* [[osSetEstateSunSettings]]
 +
* [[osSetRegionSunSettings]]
 +
* [[osSetSunParam]]
 +
* [[osSetPrimFloatOnWater]]
 +
 +
== See Also  ==
 +
 +
* [[OSSL_vs_LSL|LSL&OSSL : Neighbour functions, similarities and differences]]
 +
* [[Accessing_Prim_Properties|LSL&OSSL : Guide to prims addressing (by linknum, by uuid)]]
 +
* [[LSL Status|LSL/OSSL Status Page]]
 +
*OSSL
 +
** [[OSSL_Implemented|OSSL Implemented Functions]]
 +
** [[OSSL Constants|OSSL Constants]]
 +
** [[OSSL Status/Types|OSSL Types Status Page]]
 +
** [[OSSL Status/Events|OSSL Events Status Page]]
 +
 +
** [[Dynamic_textures|OSSL osDynamicTextures Functions Index Page]]
 +
** [[OSSL TextureDrawing|OSSL TextureDrawing Extended Information]]
 +
** [[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:Scripting]]
 +
[[Category:Scripts]]
 
[[Category:OSSL]]
 
[[Category:OSSL]]

Latest revision as of 10:45, 20 June 2024


This information is relative to (almost) the last OpenSimulator Development version. In some cases it may not apply to older versions.

Contents

[edit] OSSL function permissions

Several OSSL functions have execution permission control to prevent abusive or dangerous use.

This is controlled by files osslDefaultEnable.ini and osslEnable.ini, by default in folder bin/config-include
The use logic of these two files is identical to OpenSimDefaults.ini and OpenSim.ini

Older OpenSimulator versions only used file osslEnable.ini.
Some older OpenSimulator versions had checks for all OSSLfunctions.
That made no sense for many functions, so now many are always allowed wasting no time on useless checks.

For details about these permissions, please read file OpenSimDefaults.ini

[edit] osslDefaultEnable.ini

This file contains the defaults for OSSL execution permissions set by OpenSimulator dev team.
Instead of changing defaults defined in code, the OpenSimulator dev team may decide to just make changes in this file.
This file was not present on older OpenSimulator versions.
If you need to change permissions, copy the respective entry to osslEnable.ini and modify there.

[edit] osslEnable.ini

This file contains the local overrides for OSSL permissions.
It is read after osslDefaultEnable.ini, and any entry on it replaces the old one.
This file is not provided on code packages, an osslEnable.ini.example is.
At first time setup, you will need to copy the example file to osslEnable.ini and then edit it for your needs, using osslDefaults.ini as reference.
This was the only file used on older OpenSimulator versions.

[edit] Current OSSL Functions Implemented

[edit] Avatars

[edit] NPCs

[edit] Prim

[edit] Prim Drawing / Dynamic Texture

[edit] Notecard

[edit] Sound

[edit] HTTP

[edit] Parcel

[edit] Terrain

[edit] Region / Parcel 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 256 total.

(previous 200) (next 200)

G

L

O

O cont.

O cont.

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