aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api/Interface (follow)
Commit message (Collapse)AuthorAgeFilesLines
* implementing a function to get the number of attachments wornSignpostMarv2012-09-041-0/+10
|
* This partially implements the LSL function to set the responseMic Bowman2012-08-291-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.
* track originating IScriptApi method for SL-like error messages. Will add ↵SignpostMarv2012-08-291-1/+1
| | | | rule number tracking in next commit.
* copying documentation from http://opensimulator.org/wiki/Threat_levelSignpostMarv2012-08-281-0/+59
|
* renaming to be similar to equivalent Set commandSignpostMarv2012-08-251-1/+1
|
* Revert "implementing function to allow scripts to self-replicate as if the ↵Justin Clark-Casey (justincc)2012-08-241-7/+0
| | | | | | | | owner duplicated them, using the same script delay as llRezObject()" This reverts commit 2ad9d656b3a1a0c519c9599d7680f98eba7e82b8. Reverted pending consideration of associated issues.
* implementing function to allow scripts to self-replicate as if the owner ↵SignpostMarv2012-08-241-0/+7
| | | | duplicated them, using the same script delay as llRezObject()
* Adds osGetHealth.TBG Renfold2012-08-241-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."); } }
* reduced-complexity implementation of function to get rezzing object keySignpostMarv2012-08-021-0/+6
| | | | Signed-off-by: Melanie <melanie@t-data.com>
* LSL/OSSL lacks Math.Min & Math.Max implementations.SignpostMarv2012-07-281-0/+16
|
* Implements a very useful OSSL function to test a string to seeMic Bowman2012-07-201-0/+7
| | | | | | if it is a UUID. The function is osIsUUID(). Thanks SignpostMarv!
* Implementation of llSetRegionPos(). Does not implement failure on object ↵SignpostMarv2012-07-141-0/+1
| | | | | | entry/prim limit/access restrictions. Signed-off-by: SignpostMarv <github@signpostmarv.name>
* This script allows an object to be attached directly from prim inventory to ↵Justin Clark-Casey (justincc)2012-07-091-2/+16
| | | | | | | another avatar in the scene. Very useful in serious game/environment scenarios where its only allowed for trusted creators. Threat level Severe
* Mantis 6063 osNpcTouch.Talun2012-07-061-0/+1
| | | | Allow NPCS to touch obects.
* Add OSSL function osForceAttachToAvatarFromInventory()Justin Clark-Casey (justincc)2012-07-051-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.
* Commitig the Avination implementation of llTeleportAgent andMelanie2012-06-111-0/+2
| | | | | | llTeleportAgentGlobalCoords. These do NOT use PERMISSION_TELEPORT like their SL counterparts because that permission is not yet understood by TPVs based on v1.x.
* Mantis 6015 new LSL function llGetAgentList.Talun2012-05-091-0/+1
| | | | Details in the lsl wiki
* llGenerateKey implementation. Creates a random UUID I.E: ↵TBG Renfold2012-04-301-0/+1
| | | | | | UUID.Random().ToString(); Signed-off-by: TBG Renfold <tbg.renfold@g2mv.co.uk>
* Merge branch 'master' of /home/opensim/var/repo/opensimBlueWall2012-04-261-0/+14
|\
| * Add osForceAttachToAvatar() and osForceDetachFromAvatar()Justin Clark-Casey (justincc)2012-04-241-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.
* | Add a version of osNpcSay that takes a channel number Mantis 5747Talun2012-04-261-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>
* Correct whitespace error introduced by previous commitMelanie2012-04-141-1/+1
|
* Missing or unimplemented LSL memory functions.Talun2012-04-131-1/+6
| | | | | | Implemented to behave as if scripts were LSO. Signed-off-by: nebadon <michael@osgrid.org>
* New OS scripting functions osSetTerrainTexture and osSetTerrainHeight as ↵Snoopy Pfeffer2012-04-101-0/+3
| | | | originally proposed in SL Jira (https://jira.secondlife.com/browse/SVC-244).
* Two new scripting functions osInviteToGroup(userID) and ↵Snoopy Pfeffer2012-03-271-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.
* Add a hust UUID to the script invocationsMelanie2012-03-261-0/+1
|
* Add support for key, vector, rotation and list types for bothMic Bowman2012-03-241-12/+12
| | | | | | arguments and return values to the modInvoke family of functions. See http://opensimulator.org/wiki/OSSL_Script_Library/ModInvoke
* Add osGetInventoryDesc() as per http://opensimulator.org/mantis/view.php?id=5927Justin Clark-Casey (justincc)2012-03-171-0/+2
| | | | | This allows one to get description data for a given prim inventory item. Thanks MarcelEdward and GuduleLapointe!
* Adds a new script command 'modInvoke' to invoke registered functionsMic Bowman2012-03-151-0/+9
| | | | | | | | | from region modules. The LSL translator is extended to generate the modInvoke format of commands for directly inlined function calls. A region module can register a function Test() with the name "Test". LSL code can call that function as "Test()". The compiler will translate that invocation into modInvoke("Test", ...)
* Added osGetGridGatekeeperURI()Diva Canto2012-03-101-0/+1
|
* Adds an OSSL command for regular expression-based string replacement. ParametersMic Bowman2012-03-011-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.
* llGetLinkMedia, llSetLinkMedia, llClearLinkMedia implementation mantis: ↵PixelTomsen2012-02-241-2/+5
| | | | http://opensimulator.org/mantis/view.php?id=5756 http://opensimulator.org/mantis/view.php?id=5755 http://opensimulator.org/mantis/view.php?id=5754
* llLinkSitTarget implementation http://wiki.secondlife.com/wiki/LlLinkSitTargetPixelTomsen2012-02-241-0/+1
|
* Add llGetLinkNumberOfSides to LSL_Stub and ILSL_ApiJustin Clark-Casey (justincc)2012-02-021-1/+2
| | | | | It already existed in LSL_Api but it also needs to exist in these two other places for a script to be able to see it. Hopefully resolves http://opensimulator.org/mantis/view.php?id=5489
* Implement osIsNpc(key npc):integer. This return TRUE if the given key ↵Justin Clark-Casey (justincc)2012-01-271-0/+7
| | | | belongs to an NPC in the region. FALSE if not or if the NPC module isn't present.
* Merge branch 'master' of ssh://opensimulator.org/var/git/opensimJustin Clark-Casey (justincc)2012-01-271-0/+1
|\
| * llManageEstateAccess implementation ↵PixelTomsen2012-01-261-0/+1
| | | | | | | | | | | | http://wiki.secondlife.com/wiki/LlManageEstateAccess Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
* | Implement osNpcGetOwner(key npc):key. This returns the owner for an 'owned' ↵Justin Clark-Casey (justincc)2012-01-271-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.
* llGetParcelMusicURL implementation ↵Pixel Tomsen2012-01-251-0/+1
| | | | | | http://wiki.secondlife.com/wiki/LlGetParcelMusicURL Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
* Add osGetGridHomeURI functionBlueWall2012-01-191-0/+1
| | | | Add osGetHomeURI function to the family of osGetGrid* functions. Returns the SRV_HomeURI setting from the [LoginService] configuration.
* Add function osGetGridCustomBlueWall2012-01-171-0/+1
| | | | Add function osGetGridCustom to take an argument for the GridInfo kpv to retrieve from the GridInfoService
* Removing osNpcCreateOwned(). Please use osNpcCreate(string user, string ↵Justin Clark-Casey (justincc)2012-01-131-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.
* Add osNpcCreate(string firstname, string lastname, LSL_Vector position, ↵Justin Clark-Casey (justincc)2012-01-121-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.
* Fix some syntax issuesMelanie2012-01-061-2/+2
|
* Add osNpcPlayAnimation and osNpcStopAnimation which respect ownership as wellMelanie2012-01-061-0/+2
|
* Add osNpcCreateOwned to create an owned NPC. Those can be sensed only by the ↵Melanie2012-01-061-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.
* Add ThreatLevel.NoAccess to OSSL. This allows to enable OSSL without enablingMelanie2012-01-061-0/+1
| | | | | any methods, even those without threat, automatically. It is for use with setups wanting to allow only specific methods to specific users.
* Mantis 5816: osParseJSON Decoding Problemsnebadon2011-12-111-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!
* Implement osNpcStand(<npc-id>)Justin Clark-Casey (justincc)2011-10-171-0/+1
| | | | Allows you to stand an NPC that has sat.
* Implement osNpcSit(). This is still in development so don't trust itJustin Clark-Casey (justincc)2011-10-171-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 :)