aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api/Runtime (follow)
Commit message (Collapse)AuthorAgeFilesLines
* wrapping attachment functions in a regionSignpostMarv2012-09-041-1/+1
|
* Implementing functing to send messages directly to attachmentsSignpostMarv2012-09-042-0/+57
|
* implementing a function to get the number of attachments wornSignpostMarv2012-09-041-0/+7
|
* This partially implements the LSL function to set the responseMic Bowman2012-08-291-0/+5
| | | | | | | | 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.
* Revert "implementing function to allow scripts to self-replicate as if the ↵Justin Clark-Casey (justincc)2012-08-241-5/+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/+5
| | | | duplicated them, using the same script delay as llRezObject()
* Adds osGetHealth.TBG Renfold2012-08-241-1/+6
| | | | | | | | | | | | | | | | | 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."); } }
* implementedSignpostMarv2012-08-171-0/+1
|
* adding ATTACH_*_PEC constantsSignpostMarv2012-08-151-0/+2
|
* reduced-complexity implementation of function to get rezzing object keySignpostMarv2012-08-021-0/+5
| | | | Signed-off-by: Melanie <melanie@t-data.com>
* LSL/OSSL lacks Math.Min & Math.Max implementations.SignpostMarv2012-07-281-0/+10
|
* As per opensim-dev mailing list conversation, introduce OS_NPC constant for ↵Justin Clark-Casey (justincc)2012-07-201-0/+1
| | | | | | | | | use with llSensor() This same constant will later be used with llGetDetectedType(). This constant has a different name from NPC to avoid possible conflict with future LSL changes. This constant has a different value to try and avoid unnecessary conflict with future constants that may use the same value. Using the 'NPC' constant with llSensor() will remain valid but is deprecated.
* Implements a very useful OSSL function to test a string to seeMic Bowman2012-07-201-0/+5
| | | | | | if it is a UUID. The function is osIsUUID(). Thanks SignpostMarv!
* Implementation of llSetRegionPos(). Does not implement failure on object ↵SignpostMarv2012-07-141-0/+5
| | | | | | 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-0/+5
| | | | | | | 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/+5
| | | | Allow NPCS to touch obects.
* Add OSSL function osForceAttachToAvatarFromInventory()Justin Clark-Casey (justincc)2012-07-051-0/+5
| | | | | | | 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.
* Add stub for llCastRayBlueWall2012-06-261-0/+5
|
* Commitig the Avination implementation of llTeleportAgent andMelanie2012-06-111-0/+10
| | | | | | 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-092-0/+10
| | | | Details in the lsl wiki
* add OS_NPC_RUNNING option to osNpcMoveToTarget() to allow running speed for ↵dahlia2012-05-061-0/+1
| | | | moving NPCs
* llGenerateKey implementation. Creates a random UUID I.E: ↵TBG Renfold2012-04-301-0/+5
| | | | | | UUID.Random().ToString(); Signed-off-by: TBG Renfold <tbg.renfold@g2mv.co.uk>
* Merge branch 'master' of /home/opensim/var/repo/opensimBlueWall2012-04-261-1/+12
|\
| * Add osForceAttachToAvatar() and osForceDetachFromAvatar()Justin Clark-Casey (justincc)2012-04-241-1/+12
| | | | | | | | | | | | 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/+16
|/ | | | | | | | | | | 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>
* Missing or unimplemented LSL memory functions.Talun2012-04-132-0/+28
| | | | | | 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/+10
| | | | originally proposed in SL Jira (https://jira.secondlife.com/browse/SVC-244).
* Addition of missing constants for llGetObjectDetails including for Mantis 5502Talun2012-04-061-0/+10
| | | | Signed-off-by: nebadon <michael@osgrid.org>
* Two new scripting functions osInviteToGroup(userID) and ↵Snoopy Pfeffer2012-03-271-0/+10
| | | | 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/+5
|
* Add support for key, vector, rotation and list types for bothMic Bowman2012-03-241-5/+29
| | | | | | arguments and return values to the modInvoke family of functions. See http://opensimulator.org/wiki/OSSL_Script_Library/ModInvoke
* fix yield prolog so it compiles with mono 2.11 there has been a bugzillanebadon2012-03-232-6/+6
| | | | | | report files with mono project in regards to this change, this simply lets us move forward with using mono 2.11 for now : https://bugzilla.xamarin.com/show_bug.cgi?id=4052
* Add osGetInventoryDesc() as per http://opensimulator.org/mantis/view.php?id=5927Justin Clark-Casey (justincc)2012-03-171-0/+5
| | | | | 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/+15
| | | | | | | | | 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/+5
|
* Adds an OSSL command for regular expression-based string replacement. ParametersMic Bowman2012-03-011-0/+6
| | | | | | 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.
* PRIM_SCULPT_FLAG_INVERT, PRIM_SCULPT_FLAG_MIRROR implementedPixelTomsen2012-02-251-0/+2
| | | | http://opensimulator.org/mantis/view.php?id=5763
* llGetLinkMedia, llSetLinkMedia, llClearLinkMedia implementation mantis: ↵PixelTomsen2012-02-241-2/+17
| | | | 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/+5
|
* Add missing RCERR_UNKNOWN and RCERR_SIM_PERF_LOW LSL constants that would ↵Justin Clark-Casey (justincc)2012-02-041-0/+2
| | | | eventually be used by llCastRay(), though OpenSim does not use these yet.
* Correct RC_* LSL constants used by llCastRay().Justin Clark-Casey (justincc)2012-02-041-12/+12
| | | | Many thanks to WhiteStar for doing the research on this.
* D'oh - we want to call llGetLinkNumberOfSides() in the LSL_Stub, not ↵Justin Clark-Casey (justincc)2012-02-021-1/+1
| | | | llGetLinkNumber().
* Add llGetLinkNumberOfSides to LSL_Stub and ILSL_ApiJustin Clark-Casey (justincc)2012-02-021-0/+5
| | | | | 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
* Add OS_NPC_SENSE_AS_AGENT option to osNpcCreate().Justin Clark-Casey (justincc)2012-01-281-0/+1
| | | | | This allows NPCs to be sensed as agents by LSL sensors rather than as a specific NPC type (which is currently an OpenSimulator-only extension). Wiki doc on this and other recent NPC functions will follow soon
* Implement osIsNpc(key npc):integer. This return TRUE if the given key ↵Justin Clark-Casey (justincc)2012-01-271-0/+5
| | | | 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-272-0/+13
|\
| * llManageEstateAccess implementation ↵PixelTomsen2012-01-262-0/+13
| | | | | | | | | | | | 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-0/+5
|/ | | | | | | 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/+5
| | | | | | http://wiki.secondlife.com/wiki/LlGetParcelMusicURL Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
* Add osGetGridHomeURI functionBlueWall2012-01-191-0/+5
| | | | Add osGetHomeURI function to the family of osGetGrid* functions. Returns the SRV_HomeURI setting from the [LoginService] configuration.