aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api/Runtime (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Add function osGetGridCustomBlueWall2012-01-171-0/+5
| | | | 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-5/+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-122-0/+8
| | | | | | | | | | | 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.
* Add osNpcPlayAnimation and osNpcStopAnimation which respect ownership as wellMelanie2012-01-061-0/+10
|
* Add osNpcCreateOwned to create an owned NPC. Those can be sensed only by the ↵Melanie2012-01-062-1/+7
| | | | 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.
* Mantis 5816: osParseJSON Decoding Problemsnebadon2011-12-111-0/+5
| | | | | | | 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!
* Add missing property to llGetLinkPrimitiveParamsBlueWall2011-11-261-0/+1
|
* Implementation of PRIM_OMEGA, but only for settingSignpostMarv Martin2011-10-261-0/+1
| | | | Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
* Implementing PRIM_LINK_TARGET, but only for setting paramsSignpostMarv Martin2011-10-261-0/+1
| | | | Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
* rename OS_NPC_SIT_IMMEDIATE to OS_NPC_SIT_NOW since it's shorter and more ↵Justin Clark-Casey (justincc)2011-10-171-1/+1
| | | | | | | | understandable This makes something like osNpcSit(npc, llGetKey(), OS_NPC_IMMEDIATE) now become osNpcSit(npc, llGetKey(), OS_NPC_SIT_NOW); This is why it's in development :)
* Implement osNpcStand(<npc-id>)Justin Clark-Casey (justincc)2011-10-171-0/+5
| | | | 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-172-0/+7
| | | | | | | | | 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 :)
* osSetParcelDetails - PARCEL_DETAILS_CLAIMDATEPixel Tomsen2011-10-111-0/+4
| | | | | | | this new flag set parcels claim date value 0 for this flag set current unixstamp http://opensimulator.org/mantis/view.php?id=5725
* llAvatarOnLinkSitTarget ImplementationPixel Tomsen2011-09-291-0/+5
| | | | http://wiki.secondlife.com/wiki/LlAvatarOnLinkSitTarget
* Add llRegionSayToBlueWall2011-08-191-0/+5
| | | | | | | llRegionSayTo(key target, integer channel, string messasge) Allows messages to be sent region-wide to a particular prim.
* tidy up some OSSL NPC parameter namesJustin Clark-Casey (justincc)2011-08-121-8/+8
|
* rename position parameter in osNpcMoveToTarget to targetJustin Clark-Casey (justincc)2011-08-121-2/+2
|
* rename osNpcStopMoveTo() to osNpcStopMoveToTarget()Justin Clark-Casey (justincc)2011-08-121-2/+2
|
* implement osNpcGetPos()Justin Clark-Casey (justincc)2011-08-111-0/+5
|
* implement osNpcGetRot() and osNpcSetRot()Justin Clark-Casey (justincc)2011-08-111-0/+10
| | | | Rotation works if done around the z axis. Anything else leads to random results.
* Implement osAgentSaveAppearance() to save the appearance of an avatar in the ↵Justin Clark-Casey (justincc)2011-08-111-0/+5
| | | | | | region to a notecard This is separate from osOwnerSaveAppearance() so that owner saves can be allowed without allowing arbitrary avatar saves
* only accept npc UUIDs to osNpc* functions, not names (except for create)Justin Clark-Casey (justincc)2011-08-111-6/+6
|
* Add a OS_NPC_LAND_AT_TARGET option to osMoveToTarget()Justin Clark-Casey (justincc)2011-08-101-0/+1
| | | | | | | Default for this function is now not to automatically land. This allows better control by scripts when an avatar is going to be landing on a prim rather than the ground. Stopping the avatar involves faking a collision, to avoid the pid controller making it overshoot. A better approach would be to gradually slow the avatar as we near the target
* fly and no fly constants for osNpcMoveToTarget()Justin Clark-Casey (justincc)2011-08-101-0/+4
|
* early code to allow scripts to force npcs not to fly when moving to targetJustin Clark-Casey (justincc)2011-08-101-0/+5
| | | | | 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.
* implement osNpcStopMoveTo() to cancel any current move targetJustin Clark-Casey (justincc)2011-08-101-0/+5
|
* Add osOwnerSaveAppearance() to help with setting up NPC appearances. Not ↵Justin Clark-Casey (justincc)2011-08-091-0/+5
| | | | | | yet ready for user use. Adds regression test.
* Implement first draft functions for saving and loading NPC appearance from ↵Justin Clark-Casey (justincc)2011-08-091-0/+10
| | | | | | | | | | storage. This works by serializing and deserializing NPC AvatarAppearance to a notecard in the prim inventory and making the required baked textures permanent. By using notecards, we avoid lots of awkward, technical and user-unfriendly issues concerning retaining asset references and creating a new asset type. Notecards also allow different appearances to be swapped and manipulated easily. This also allows stored NPC appearances to work transparently with OARs/IARs since the UUID scan will pick up and store the necessary references from the notecard text. This works in my basic test but is not at all ready for user use or bug reporting yet.
* Port implementation of llCastRay() from Aurora.Justin Clark-Casey (justincc)2011-07-121-0/+16
| | | | I haven't been able to test this since the viewer won't parse the llCastRay() function. Maybe some activation cap is missing. Could wait until it is activated by default in the viewer.
* [PATCH] osSetSpeed() will accept float numberMakopoppo2011-06-281-1/+1
| | | | Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
* [PATCH] Get osGetWindParam() and osSetWindParam() accessibleMakopoppo2011-06-281-10/+9
| | | | Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
* Add support for the new display name related functions in LSL. This does notMelanie2011-04-082-0/+22
| | | | | | implement the display names functionality as such, but it allows scripts that are display name aware to function as if the display name were implemented and set to the avatar name.
* implement LSL "print()" API functiondahlia2011-03-311-0/+5
|
* More OSSL function name normalization, this time for osParcelSetDetails.Marck2010-12-111-1/+6
|
* Normalization of OSSL function names.Marck2010-12-101-4/+29
| | | | | | | | | | | | | | | | | Added the following replacement functions for compliance to the OSSL standards stated on the wiki: osGetTerrainHeight osSetTerrainHeight osGetSunParam osSetSunParam osSetPenColor The functions that do not comply to the standard give a warning when used but work normally otherwise. The graphics primitive drawing command "PenColor" has also been added as well as dynamic texture parameter "bgcolor" as an alternative to "bgcolour". The following two functions have been renamed because they are not enabled yet aynway: osWindParamSet => osSetWindParam osWindParamGet => osGetWindParam
* Add osUnixTimeToTimestamp()Justin Clark-Casey (justincc)2010-11-171-1/+12
| | | | | This allows an input unix time to be converted to an llGetTimeStamp() format. Thanks Thomax.
* Add osTeleportOwner.Marck2010-11-161-0/+15
| | | | | | | This provides the same functionality as osTeleportAgent but without the griefing potential. Region owners need not be concerned about the use of this function because it only allows to do what is already possible with the world map. The intended use is with HUDs. For example, a list of (hypergrid) destinations could be made available for quick access. Signed-off-by: Melanie <melanie@t-data.com>
* Add PARCEL_DETAILS_ID to LSLBlueWall2010-11-121-0/+1
|
* Add lsClearWindlightScene() to the lightshare module to remove WL settingsMelanie2010-11-031-0/+4
| | | | from a region and allow normal day cycles to be reestablished
* Add PRIM_NAME, PRIM_DESC and PRIM_ROT_LOCALMelanie2010-10-241-0/+3
|
* Adding osFunctions for light projectionBlueWall2010-10-171-0/+10
| | | | | | | | | | | | | | | | | | | | | Set the projection parameters in the host prim ... osSetProjectionParam(bool Enabled, key TextureMaskUUID, float FOV, float Focus, float Ambiance); Set the projection parameters in a target prim ... osSetProjectionParam(ikey target uuid, bool Enabled, key TextureMaskUUID, float FOV, float Focus, float Ambiance); Threat Level very high Signed-off-by: Melanie <melanie@t-data.com>
* Merge branch 'moap'Justin Clark-Casey (justincc)2010-08-062-0/+51
|\
| * properly expose prim media LSL functions to scriptsJustin Clark-Casey (justincc)2010-07-261-0/+15
| | | | | | | | | | scripts using these functions should now compile but I don't know how well the methods themselves work yet llSetPrimMedia(), at least, appears to have problems when a current url is set for a face that doesn't yet have a texture
| * Fire CHANGED_MEDIA event if a media texture is set or clearedJustin Clark-Casey (justincc)2010-07-261-0/+1
| |
| * implement llSetPrimMediaParams()Justin Clark-Casey (justincc)2010-07-261-1/+11
| | | | | | | | Untested
| * Implement llGetPrimMediaParams()Justin Clark-Casey (justincc)2010-07-261-0/+25
| | | | | | | | | | Exposes method to get media entry via IMoapModule As yet untested.
* | Correct some script constants.Melanie2010-08-061-3/+4
|/
* Remove the cm* function namespaceMelanie Thielker2010-06-112-16/+1
|
* Rename CM files to LSMelanie Thielker2010-06-111-10/+10
|