aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-05-19Dump OpenSim 0.9.0.1 into it's own branch.onefang1-6/+44
2016-11-22Don't throw exceptions on threat level checks and a few other script ↵David Walter Seikel1-1/+1
function errors. Instead, just complain quickly and return without doing the function.
2016-11-03Initial update to OpenSim 0.8.2.1 source code.David Walter Seikel1-0/+26
2012-10-26adding ability for listeners to be filtered by regular expressions and a ↵SignpostMarv1-0/+24
general-purpose function to see if a given string matches a given regex
2012-10-02added perms checking, duplicated functionality to methods that do not ↵SignpostMarv1-0/+12
require perms and have higher threat level
2012-10-02implementing osDropAttachment & osDropAttachmentAtSignpostMarv1-0/+12
2012-09-04wrapping attachment functions in a regionSignpostMarv1-1/+1
2012-09-04Implementing functing to send messages directly to attachmentsSignpostMarv1-0/+13
2012-09-04implementing a function to get the number of attachments wornSignpostMarv1-0/+10
2012-08-29This partially implements the LSL function to set the responseMic Bowman1-0/+6
type for an HTTP request. Since the "official" LSL function limits the use of the response type, it is implemented as osSetContentType with a string for the content mime type and a threat level of high. With this function you should be able to implement rather functional media-on-a-prim application with much less difficulty.
2012-08-28copying documentation from http://opensimulator.org/wiki/Threat_levelSignpostMarv1-0/+59
2012-08-24Revert "implementing function to allow scripts to self-replicate as if the ↵Justin Clark-Casey (justincc)1-7/+0
owner duplicated them, using the same script delay as llRezObject()" This reverts commit 2ad9d656b3a1a0c519c9599d7680f98eba7e82b8. Reverted pending consideration of associated issues.
2012-08-24implementing function to allow scripts to self-replicate as if the owner ↵SignpostMarv1-0/+7
duplicated them, using the same script delay as llRezObject()
2012-08-24Adds osGetHealth.TBG Renfold1-0/+1
Returns the amount of health (in an integer) that an avatar has left in the scene. If an avatar is not found or safe is enabled on a region, -1 is returned. Example usage: default { touch_end(integer _t) { key agentID = llDetectedKey(0); osCauseDamage(agentID, 50); llSay(0, llKey2Name(agentID) + " has " + (string)osGetHealth(agentID) + "% health left."); } }
2012-08-02reduced-complexity implementation of function to get rezzing object keySignpostMarv1-0/+6
Signed-off-by: Melanie <melanie@t-data.com>
2012-07-28LSL/OSSL lacks Math.Min & Math.Max implementations.SignpostMarv1-0/+16
2012-07-20Implements a very useful OSSL function to test a string to seeMic Bowman1-0/+7
if it is a UUID. The function is osIsUUID(). Thanks SignpostMarv!
2012-07-09This script allows an object to be attached directly from prim inventory to ↵Justin Clark-Casey (justincc)1-2/+16
another avatar in the scene. Very useful in serious game/environment scenarios where its only allowed for trusted creators. Threat level Severe
2012-07-06Mantis 6063 osNpcTouch.Talun1-0/+1
Allow NPCS to touch obects.
2012-07-05Add OSSL function osForceAttachToAvatarFromInventory()Justin Clark-Casey (justincc)1-0/+7
This works like osForceAttachToAvatar() but allows an object to be directly specified from the script object's inventory rather than forcing it to be rezzed in the scene first. Still only attaches objects to the owner of the script. This allows one to bypass the complicated co-ordination of first rezzing objects in the scene before attaching them. Threat level high.
2012-04-26Add a version of osNpcSay that takes a channel number Mantis 5747Talun1-0/+3
osNpcSay(UUID npc, string message) left untouched New functions:- osNpcSay(UUID npc, int channel, string message) osNpcShout(UUID npc, int channel, string message) osNpcWhisper(UUID npc, int channel, string message) Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2012-04-24Add osForceAttachToAvatar() and osForceDetachFromAvatar()Justin Clark-Casey (justincc)1-0/+14
These behave identically to llAttachToAvatar() and llDetachFromAvatar() except that they do not enforce the PERMISSION_ATTACH check Intended for use in completely controlled dedicated environments where these checks are more a UI hinderance than a help. Threat level high.
2012-04-10New OS scripting functions osSetTerrainTexture and osSetTerrainHeight as ↵Snoopy Pfeffer1-0/+3
originally proposed in SL Jira (https://jira.secondlife.com/browse/SVC-244).
2012-03-27Two new scripting functions osInviteToGroup(userID) and ↵Snoopy Pfeffer1-0/+3
osEjectFromGroup(userID) that invite/eject users to/from groups the object containing the script is set to. These functions also work for closed groups.
2012-03-17Add osGetInventoryDesc() as per http://opensimulator.org/mantis/view.php?id=5927Justin Clark-Casey (justincc)1-0/+2
This allows one to get description data for a given prim inventory item. Thanks MarcelEdward and GuduleLapointe!
2012-03-10Added osGetGridGatekeeperURI()Diva Canto1-0/+1
2012-03-01Adds an OSSL command for regular expression-based string replacement. ParametersMic Bowman1-0/+1
are osReplaceString(string source, string patter, string replace, integer count, integer start) The count parameter specifies the total number of replacements to make, -1 makes all replacements.
2012-01-27Implement osIsNpc(key npc):integer. This return TRUE if the given key ↵Justin Clark-Casey (justincc)1-0/+7
belongs to an NPC in the region. FALSE if not or if the NPC module isn't present.
2012-01-27Implement osNpcGetOwner(key npc):key. This returns the owner for an 'owned' ↵Justin Clark-Casey (justincc)1-19/+29
NPC, the npc's own key for an 'unowned' NPC and NULL_KEY is the input key was not an npc. llGetOwnerKey() could also be extended but this does not allow one to distinguish between an unowned NPC and some other result (e.g. 'no such object' if NULL_KEY is the return. Also, any future extensions to LSL functions by Linden Lab are unpredictable and OpenSim-specific extensions could clash.
2012-01-19Add osGetGridHomeURI functionBlueWall1-0/+1
Add osGetHomeURI function to the family of osGetGrid* functions. Returns the SRV_HomeURI setting from the [LoginService] configuration.
2012-01-17Add function osGetGridCustomBlueWall1-0/+1
Add function osGetGridCustom to take an argument for the GridInfo kpv to retrieve from the GridInfoService
2012-01-13Removing osNpcCreateOwned(). Please use osNpcCreate(string user, string ↵Justin Clark-Casey (justincc)1-1/+0
name, vector position, string notecard, int options) instead with option OS_NPC_CREATOR_OWNED Please note that correct option name is OS_NPC_CREATOR_OWNED not OS_NPC_CREATE_OWNED as mistakenly put in a previous commit.
2012-01-12Add osNpcCreate(string firstname, string lastname, LSL_Vector position, ↵Justin Clark-Casey (justincc)1-0/+1
string notecard, int options) variant. This will be documented soon. Options can currently be OS_NPC_CREATE_OWNED - creates a 'creator owned' avatar that will only respond to osNpc* functions made by scripts owned by the npc creator OS_NPC_NOT_OWNED - creates an avatar which will respond to any osNpc* functions that a caller has permission to make (through the usual OSSL permission mechanisms). options is being added to provide better scope for future extensibility without having to add more functions The original non-options osNpcCreate() function will continue to exist.
2012-01-06Fix some syntax issuesMelanie1-2/+2
2012-01-06Add osNpcPlayAnimation and osNpcStopAnimation which respect ownership as wellMelanie1-0/+2
2012-01-06Add osNpcCreateOwned to create an owned NPC. Those can be sensed only by the ↵Melanie1-0/+1
owner, can be destroyed only by the owner and only the owner can save their appearance. Added "NPC" as a flag to llSensor to sense NPCs and exclude them from "AGENT" results.
2012-01-06Add ThreatLevel.NoAccess to OSSL. This allows to enable OSSL without enablingMelanie1-0/+1
any methods, even those without threat, automatically. It is for use with setups wanting to allow only specific methods to specific users.
2011-12-11Mantis 5816: osParseJSON Decoding Problemsnebadon1-0/+2
osParseJSON uses hand-crafted decoding that has two issues * does not seem to handle top-level JSON lists * does not seem to handle unicode text thanks otakup0pe!
2011-10-17Implement osNpcStand(<npc-id>)Justin Clark-Casey (justincc)1-0/+1
Allows you to stand an NPC that has sat.
2011-10-17Implement osNpcSit(). This is still in development so don't trust itJustin Clark-Casey (justincc)1-0/+1
Format is osNpcSit(<npc-uuid>, <target-uuid>, OS_NPC_SIT_IMMEDIATE) e.g. osNpcSit(npc, llGetKey(), OS_NPC_SIT_IMMEDIATE); At the moment, sit only succeeds if the part has a sit target set. NPC immediately sits on the target even if miles away - they do not walk up to it. This method is in development - it may change so please don't trust it yet. Standing will follow shortly since that's kind of important once you're sitting :)
2011-08-12tidy up some OSSL NPC parameter namesJustin Clark-Casey (justincc)1-5/+5
2011-08-12rename position parameter in osNpcMoveToTarget to targetJustin Clark-Casey (justincc)1-1/+1
2011-08-12rename osNpcStopMoveTo() to osNpcStopMoveToTarget()Justin Clark-Casey (justincc)1-1/+1
2011-08-11implement osNpcGetPos()Justin Clark-Casey (justincc)1-0/+1
2011-08-11implement osNpcGetRot() and osNpcSetRot()Justin Clark-Casey (justincc)1-0/+2
Rotation works if done around the z axis. Anything else leads to random results.
2011-08-11Implement osAgentSaveAppearance() to save the appearance of an avatar in the ↵Justin Clark-Casey (justincc)1-1/+1
region to a notecard This is separate from osOwnerSaveAppearance() so that owner saves can be allowed without allowing arbitrary avatar saves
2011-08-11only accept npc UUIDs to osNpc* functions, not names (except for create)Justin Clark-Casey (justincc)1-3/+3
2011-08-10early code to allow scripts to force npcs not to fly when moving to targetJustin Clark-Casey (justincc)1-0/+1
this is to allow walking on prims. it will be up to the script writer to be sure that there is a continuous path. currently implemented in osNpcMoveToTarget(), but none of this is final.
2011-08-10implement osNpcStopMoveTo() to cancel any current move targetJustin Clark-Casey (justincc)1-0/+1
2011-08-09Add osOwnerSaveAppearance() to help with setting up NPC appearances. Not ↵Justin Clark-Casey (justincc)1-0/+2
yet ready for user use. Adds regression test.