aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/lscript
diff options
context:
space:
mode:
authorPatrick Sapinski2010-02-19 19:46:55 -0500
committerJacek Antonelli2010-06-19 02:40:55 -0500
commit997ff0eabb5ae84de38b57156494199ba76fecae (patch)
tree87eec03b41882b9cc3d2fe53f037c9e95a479957 /linden/indra/lscript
parentPorted IgnoreSimulatorCameraConstraints setting from Emerald (diff)
downloadmeta-impy-997ff0eabb5ae84de38b57156494199ba76fecae.zip
meta-impy-997ff0eabb5ae84de38b57156494199ba76fecae.tar.gz
meta-impy-997ff0eabb5ae84de38b57156494199ba76fecae.tar.bz2
meta-impy-997ff0eabb5ae84de38b57156494199ba76fecae.tar.xz
Added OpenSim Scripting Language functions to script editor.
With documentation help from WhiteStar from OpenSim. Signed-off-by: Jacek Antonelli <jacek.antonelli@gmail.com>
Diffstat (limited to 'linden/indra/lscript')
-rw-r--r--linden/indra/lscript/lscript_library/lscript_library.cpp94
1 files changed, 94 insertions, 0 deletions
diff --git a/linden/indra/lscript/lscript_library/lscript_library.cpp b/linden/indra/lscript/lscript_library/lscript_library.cpp
index 7fa7b70..b19b91b 100644
--- a/linden/indra/lscript/lscript_library/lscript_library.cpp
+++ b/linden/indra/lscript/lscript_library/lscript_library.cpp
@@ -472,6 +472,100 @@ void LLScriptLibrary::init()
472 // IF YOU ADD NEW SCRIPT CALLS, YOU MUST PUT THEM AT THE END OF THIS LIST. 472 // IF YOU ADD NEW SCRIPT CALLS, YOU MUST PUT THEM AT THE END OF THIS LIST.
473 // Otherwise the bytecode numbers for each call will be wrong, and all 473 // Otherwise the bytecode numbers for each call will be wrong, and all
474 // existing scripts will crash. 474 // existing scripts will crash.
475
476 // The above statement likely no longer applies, as both OpenSim and SL should be compiling bytecode on the server.
477 // OpenSim Scripting Language functions, from WhiteStar@OpenSim -Patrick Sapinski (Friday, February 19, 2010)
478
479 // REGARDING OSSL FUNCTIONS
480 // These additions should be posted underneath the llFunctions
481 // These functions pertain to OpenSimulator and are in no part applicable to SecondLife by Linden Labs
482 // The Current State of these functions are in flux and development is ongoing. Not all the functions are presently
483 // documented and therefore the description may be incomplete and require further attention.
484 // OpenSimulator is written in C# and not CPP therefore some values for example "double = float" etc. are different.
485
486 // OSSL corrections and syntax additions added + set in same order as found in OSSL_stub.cs of OpenSim Source (February 19, 2010)
487 // based on OpenSimulator Ver. 0.6.9 DEV Git # af265e001d3bf043590e480cd6574a14193f6de0 - Rev 12239
488
489 addFunction(new LLScriptLibraryFunction(10.f, 0.f, dummy_func, "osSetRegionWaterHeight", NULL, "f", "osSetRegionWaterHeight(float height)\nAdjusts Water Height on region\nhttp://opensimulator.org/wiki/OSSL_Implemented"));
490 addFunction(new LLScriptLibraryFunction(10.f, 0.f, dummy_func, "osSetRegionSunSettings", NULL, "iif", "osSetRegionSunSettings(integer useEstateSun, integer sunFixed, float sunHour)\nChanges the Estate Sun Settings, then Triggers a Sun Update\n'sunFixed' TRUE (1) to keep the sun stationary, FALSE (0) to use global time\n'sunHour' The \"Sun Hour\" that is desired, 0...24, with 0 just after SunRise\nhttp://opensimulator.org/wiki/OSSL_Implemented"));
491 addFunction(new LLScriptLibraryFunction(10.f, 0.f, dummy_func, "osSetEstateSunSettings", NULL, "if", "osSetEstateSunSettings(integer sunFixed, float sunHour)\nsunFixed = 0 or 1, sunHour = 00.00 to 24.00\nhttp://opensimulator.org/wiki/OSSL_Implemented"));
492 addFunction(new LLScriptLibraryFunction(10.f, 0.f, dummy_func, "osGetCurrentSunHour", "f", NULL, "float osGetCurrentSunHour()\nReturns Float Value of Current Sun Hour 0...24 0 = sunrise \nhttp://opensimulator.org/wiki/OSSL_Implemented"));
493 addFunction(new LLScriptLibraryFunction(10.f, 0.f, dummy_func, "osSunGetParam","f", "s", "float osSunGetParam(string param)\nReturns current float values for param\nwhere param = day_length, year_length, day_night_offset, update_interval\nhttp://opensimulator.org/wiki/OSSL_Implemented"));
494 addFunction(new LLScriptLibraryFunction(10.f, 0.f, dummy_func, "osSunSetParam", "sf", NULL, "osSunSetParam(string param, float value)\nSet's Sun Param for SunSet,\nosSunSetParam(day_length, 24.0)\nwhere param = day_length, year_length, day_night_offset, update_interval\nhttp://opensimulator.org/wiki/OSSL_Implemented"));
495 addFunction(new LLScriptLibraryFunction(10.f, 0.f, dummy_func, "osWindActiveModelPluginName", "s", NULL, "string osWindActiveModelPluginName()\nReturns the Current Working Wind Module Installed\nThese are SimpleRandomWind or ConfigurableWind, optionally others\nhttp://opensimulator.org/wiki/OSSL_Implemented"));
496 addFunction(new LLScriptLibraryFunction(10.f, 0.f, dummy_func, "osWindParamSet", NULL, "ssf", "osWindParamSet(string plugin, string param, float value)Send Param to Specified Wind Plugin with new value\nhttp://opensimulator.org/wiki/OSSL_Implemented"));
497 addFunction(new LLScriptLibraryFunction(10.f, 0.f, dummy_func, "osWindParamGet", "f", "ss", "float osWindParamGet(string plugin, string param)\n Returns Current param from specified Wind Plugin Module\nhttp://opensimulator.org/wiki/OSSL_Implemented"));
498 addFunction(new LLScriptLibraryFunction(10.f, 0.f, dummy_func, "osList2Double", "f", "si", "double osList2Double(list src, int index)\nReturns Double (float) Value from src at index\nhttp://opensimulator.org/wiki/OSSL_Implemented"));
499 addFunction(new LLScriptLibraryFunction(10.f, 0.f, dummy_func, "osSetDynamicTextureURL", NULL, "ssssi", "osSetDynamicTextureURL(string dynamicID, string contentType, string url, string extraParams, int timer )\nContentType= image, url=http://server.com/image.jpg\n extraParams in the following format: [param]:[value],[param]:[value]\nwidth of the dynamic texture in pixels IE: width:256\nheight of the dynamic texture in pixels IE: height:256\nalpha (transparency). Values are 0-clear to 255-solid, FALSE to turn off alpha IE: alpha:255)\nbgcolour - background color of the texture IE: bgcolour:Red\nsetalpha integer value - any integer value is treated like specifing alpha component\nhttp://opensimulator.org/wiki/OSSL_Implemented"));
500 addFunction(new LLScriptLibraryFunction(10.f, 0.f, dummy_func, "osSetDynamicTextureData", NULL, "ssssi", "osSetDynamicTextureData(string dynamicID, string contentType, string data, string extraParams, int timer)\nWrites text and vector graphics onto a prim face.\nwidth,height and alpha value can be passed\ne.g. osSetDynamicTextureData('', 'vector', drawList, 'width:64,height:1024:alpha:0', 0)\n! REPLACE Single Quotes with Double Quotes\nTo turn off the alpha layer use 'alpha:false' in the optional parameters\nhttp://opensimulator.org/wiki/OSSL_Implemented"));
501 addFunction(new LLScriptLibraryFunction(10.f, 0.f, dummy_func, "osSetDynamicTextureURLBlend", NULL, "ssssii", "osSetDynamicTextureURLBlend(string dynamicID, string contentType, string url, string extraParams, int timer, int alpha)\nContentType= image, url=http://server.com/image.jpg\n extraParams in the following format: [param]:[value],[param]:[value]\nwidth of the dynamic texture in pixels IE: width:256\nheight of the dynamic texture in pixels IE: height:256\nalpha (transparency). Values are 0-clear to 255-solid, FALSE to turn off alpha IE: alpha:255)\nbgcolour - background color of the texture IE: bgcolour:Red\nsetalpha integer value - any integer value is treated like specifing alpha component\nhttp://opensimulator.org/wiki/OSSL_Implemented"));
502 addFunction(new LLScriptLibraryFunction(10.f, 0.f, dummy_func, "osSetDynamicTextureDataBlend", NULL, "ssssii", "osSetDynamicTextureDataBlend(string dynamicID, string contentType, string data, string extraParams, int timer, int alpha)\nhttp://opensimulator.org/wiki/OSSL_Implemented"));
503 addFunction(new LLScriptLibraryFunction(10.f, 0.f, dummy_func, "osSetDynamicTextureURLBlendFace", NULL, "ssssfiiii", "osSetDynamicTextureURLBlendFace(string dynamicID, string contentType, string url, string extraParams, bool blend, int disp, int timer, int alpha, int face)\nLoads a web texture on a prim.\nShould work for any image URL (including php scripts) that Opensim can render.\n[Note refreshTimer may not yet be implemented, use a timer event and recall the function to get the same effect]\nhttp://opensimulator.org/wiki/OSSL_Implemented"));
504 addFunction(new LLScriptLibraryFunction(10.f, 0.f, dummy_func, "osSetDynamicTextureDataBlendFace", NULL, "ssssfiiii", "osSetDynamicTextureDataBlendFace(string dynamicID, string contentType, string data, string extraParams, bool blend, int disp, int timer, int alpha, int face)\nhttp://opensimulator.org/wiki/OSSL_Implemented"));
505 addFunction(new LLScriptLibraryFunction(10.f, 0.f, dummy_func, "osTerrainGetHeight", "f", "ii", "float osTerrainGetHeight(int x, int y)\nReturns current terrain height\nhttp://opensimulator.org/wiki/OSSL_Implemented"));
506 addFunction(new LLScriptLibraryFunction(10.f, 0.f, dummy_func, "osTerrainSetHeight", NULL, "iif", "osTerrainSetHeight(int x, int y, float val)\nsets terrain height X & Y Values\nuse osTerrainsFlush() afterwards\nhttp://opensimulator.org/wiki/OsTerrainSetHeight\nhttp://opensimulator.org/wiki/OSSL_Implemented"));
507 addFunction(new LLScriptLibraryFunction(10.f, 0.f, dummy_func, "osTerrainFlush", NULL, NULL, "osTerrainFlush()\nshould be called after all the terrain-changes have been done to update Terrain Data.\nhttp://opensimulator.org/wiki/OSSL_Implemented"));
508 addFunction(new LLScriptLibraryFunction(10.f, 0.f, dummy_func, "osRegionRestart", NULL, "f", "int osRegionRestart(double seconds)\nallows a region restart command from script in seconds from issuing command\nhttp://opensimulator.org/wiki/OSSL_Implemented"));
509 addFunction(new LLScriptLibraryFunction(10.f, 0.f, dummy_func, "osRegionNotice",NULL, "s", "osRegionNotice(string msg)\nbroadcasts notification to all agents on specific Region.\nhttp://opensimulator.org/wiki/OSSL_Implemented"));
510 addFunction(new LLScriptLibraryFunction(10.f, 0.f, dummy_func, "osConsoleCommand", NULL, "s", "osConsoleCommand(string command)\nIssues Commands directly to the OpenSim Server Console\nhttp://opensimulator.org/wiki/OSSL_Implemented"));
511 addFunction(new LLScriptLibraryFunction(10.f, 0.f, dummy_func, "osSetParcelMediaURL", NULL, "s", "osSetParcelMediaURL(string url)Sets Parcel Media URL\nhttp://opensimulator.org/wiki/OSSL_Implemented"));
512 addFunction(new LLScriptLibraryFunction(10.f, 0.f, dummy_func, "osSetParcelSIPAddress", NULL, "s", "osSetParcelSIPAddress(string SIPAddress) Sets Parcel SIP Address for Voice\nhttp://opensimulator.org/wiki/OSSL_Implemented"));
513 addFunction(new LLScriptLibraryFunction(10.f, 0.f, dummy_func, "osSetPrimFloatOnWater", NULL, "i", "osSetPrimFloatOnWater(int floatYN)\n make Physical prim float at the water level, TRUE or FALSE\nhttp://opensimulator.org/wiki/OSSL_Implemented"));
514 addFunction(new LLScriptLibraryFunction(10.f, 0.f, dummy_func, "osTeleportAgent", NULL, "ksvv", "osTeleportAgent(key agent, string regionName, vector position, vector lookat)\nfor In-Grid Teleport Use\n(AgentUUID, RegionName,<x,y,z>,<x,y,z>)\nHypergrid IP Method (AgentUUID, IPaddress:Port/RegionName,<x,y,z>,<x,y,z>)\nHypergrid DNS Method(AgentUUID, DNSname:Port/RegionName,<x,y,z>,<x,y,z>)\nhttp://opensimulator.org/wiki/OSSL_Implemented"));
515 addFunction(new LLScriptLibraryFunction(10.f, 0.f, dummy_func, "osTeleportAgent", NULL, "kiivv", "osTeleportAgent(key agent, int regionX, int regionY, vector position, vector lookat)\nfor In-Grid Teleport to Grid Map Coordinates\n(AgentUUID, XXXX,YYYY,<x,y,z>,<x,y,z>)\nhttp://opensimulator.org/wiki/OSSL_Implemented"));
516 addFunction(new LLScriptLibraryFunction(10.f, 0.f, dummy_func, "osTeleportAgent", NULL, "kvv", "osTeleportAgent(key agent, vector position, vector lookat)\nfor In-Region Teleport Use,\n(AgentUUID, <x,y,z>, <x,y,z>)\nhttp://opensimulator.org/wiki/OSSL_Implemented"));
517 addFunction(new LLScriptLibraryFunction(10.f, 0.f, dummy_func, "osGetAgentIP", "s", "k", "string osGetAgentIP(key agent)\nReturns the Avatars IP Address\nAllows in world tools be used to coordinate out of world network services that need access to client ip addresses.\nShould ONLY be used by Region Server Owner\nhttp://opensimulator.org/wiki/OSSL_Implemented"));
518 addFunction(new LLScriptLibraryFunction(10.f, 0.f, dummy_func, "osGetAgents", "l", NULL, "list osGetAgents()\nReturns a list of all avatars in the region in which the script is running.\nhttp://opensimulator.org/wiki/OSSL_Implemented"));
519 addFunction(new LLScriptLibraryFunction(10.f, 0.f, dummy_func, "osAvatarPlayAnimation", NULL, "ks", "osAvatarPlayAnimation(key avatar, string animation)\nTriggers animations contained within the same prim as the script without requesting permission, as llStartAnimation() does.\nIt also modifies osAvatarStopAnimation(), otherwise the script wouldn't be able to stop animations it had started.\nhttp://opensimulator.org/wiki/OSSL_Implemented"));
520 addFunction(new LLScriptLibraryFunction(10.f, 0.f, dummy_func, "osAvatarStopAnimation", NULL, "ks", "osAvatarStopAnimation(key avatar, string animation)\nStops specified animation on Avatar\nhttp://opensimulator.org/wiki/OSSL_Implemented"));
521 addFunction(new LLScriptLibraryFunction(10.f, 0.f, dummy_func, "osMovePen", NULL, "sii", "osMovePen(string drawList, int x, int y)\nmoves the pen's location to the coordinates specified by the x and y parameters, without drawing anything.\nREF: http://opensimulator.org/wiki/OsMovePen"));
522 addFunction(new LLScriptLibraryFunction(10.f, 0.f, dummy_func, "osDrawLine", NULL, "siiii", "osDrawLine(string drawList, int startX, int startY, int endX, int endY)\nRefer to: http://opensimulator.org/wiki/Dynamic_textures"));
523 addFunction(new LLScriptLibraryFunction(10.f, 0.f, dummy_func, "osDrawLine", NULL, "sii", "osDrawLine(string drawList, int endX, int endY)\nRefer to: http://opensimulator.org/wiki/Dynamic_textures"));
524 addFunction(new LLScriptLibraryFunction(10.f, 0.f, dummy_func, "osDrawText", NULL, "ss", "osDrawText(string drawList, string text)\nRefer to: http://opensimulator.org/wiki/Dynamic_textures"));
525 addFunction(new LLScriptLibraryFunction(10.f, 0.f, dummy_func, "osDrawEllipse", NULL, "sii", "osDrawEllipse(string drawList, int width, int height)\nRefer to: http://opensimulator.org/wiki/Dynamic_textures"));
526 addFunction(new LLScriptLibraryFunction(10.f, 0.f, dummy_func, "osDrawRectangle", NULL, "sii", "osDrawRectangle(string drawList, int width, int height)\nRefer to: http://opensimulator.org/wiki/Dynamic_textures"));
527 addFunction(new LLScriptLibraryFunction(10.f, 0.f, dummy_func, "osDrawFilledRectangle", NULL, "sii", "osDrawFilledRectangle(string drawList, int width, int height)\nRefer to: http://opensimulator.org/wiki/Dynamic_textures"));
528 addFunction(new LLScriptLibraryFunction(10.f, 0.f, dummy_func, "osDrawPolygon", NULL, "ll", "osDrawPolygon (string drawList, List x, List y)\nWorks a little different then other OS Drawing functions,\nthis one has no start and end point,\nbut a number of points that will form the desired polygon.\nhttp://opensimulator.org/wiki/OSSL_Implemented"));
529 addFunction(new LLScriptLibraryFunction(10.f, 0.f, dummy_func, "osDrawFilledPolygon", NULL, "ll", "string osDrawFilledPolygon (string drawList, List x, List y)\nWorks a little different then other OS Drawing functions,\nthis one has no start and end point,\nbut a number of points that will form the desired polygon.\nhttp://opensimulator.org/wiki/OSSL_Implemented"));
530 addFunction(new LLScriptLibraryFunction(10.f, 0.f, dummy_func, "osSetFontSize", NULL, "si", "osSetFontSize(string drawList, int fontSize)\nhttp://opensimulator.org/wiki/OSSL_Implemented"));
531 addFunction(new LLScriptLibraryFunction(10.f, 0.f, dummy_func, "osSetFontName", NULL, "ss", "osSetFontName(string drawList, string fontName)Sets Current Font to one available on Server\nhttp://opensimulator.org/wiki/OSSL_Implemented"));
532 addFunction(new LLScriptLibraryFunction(10.f, 0.f, dummy_func, "osSetPenSize", NULL, "si", "osSetPenSize(string drawList, int penSize)\nhttp://opensimulator.org/wiki/OSSL_Implemented"));
533 addFunction(new LLScriptLibraryFunction(10.f, 0.f, dummy_func, "osSetPenCap", NULL, "sss", "osSetPenCap(string drawList, string direction, string type)\nThis allows using arrow, diamond, round and flat caps.\nhttp://opensimulator.org/wiki/OSSL_Implemented"));
534 addFunction(new LLScriptLibraryFunction(10.f, 0.f, dummy_func, "osSetPenColour", NULL, "ss", "osSetPenColour(string drawList, string colour)\nhttp://opensimulator.org/wiki/OSSL_Implemented"));
535 addFunction(new LLScriptLibraryFunction(10.f, 0.f, dummy_func, "osDrawImage", NULL, "siis", "osDrawImage(string drawList, int width, int height, string imageUrl)\nhttp://opensimulator.org/wiki/OSSL_Implemented"));
536 addFunction(new LLScriptLibraryFunction(10.f, 0.f, dummy_func, "osGetDrawStringSize", "v", "sssi", "vector osGetDrawStringSize(string contentType, string text, string fontName, int fontSize)\nRefer to: http://opensimulator.org/wiki/Dynamic_textures"));
537 addFunction(new LLScriptLibraryFunction(10.f, 0.f, dummy_func, "osSetStateEvents", NULL, "i", "osSetStateEvents(int events)\nhttp://opensimulator.org/wiki/OSSL_Implemented"));
538 addFunction(new LLScriptLibraryFunction(10.f, 0.f, dummy_func, "osGetScriptEngineName", "s", NULL, "string osGetScriptEngineName()\nReturns current Script Engine enabled on Server\nhttp://opensimulator.org/wiki/OSSL_Implemented"));
539 addFunction(new LLScriptLibraryFunction(10.f, 0.f, dummy_func, "osGetSimulatorVersion", "s", NULL, "string osGetSimulatorVersion()\nReturns OpenSim Server Version information\nhttp://opensimulator.org/wiki/OSSL_Implemented"));
540 addFunction(new LLScriptLibraryFunction(10.f, 0.f, dummy_func, "osParseJSON", NULL, "s", "Hashtable osParseJSON(string JSON)\nReturns a hashtable containing the structured JSON contents (c# only)\nhttp://opensimulator.org/wiki/OSSL_Implemented"));
541 addFunction(new LLScriptLibraryFunction(10.f, 0.f, dummy_func, "osMessageObject", NULL, "ks", "osMessageObject(key objectUUID, string message)\nSends a string to the object identified by objectUUID,\nthe receiving object requires a dataserver( key queryid, string data ) in a contained script(s).\nThe queryid passed will be the id of the calling object.\nhttp://opensimulator.org/wiki/OSSL_Implemented"));
542 addFunction(new LLScriptLibraryFunction(10.f, 0.f, dummy_func, "osMakeNotecard", NULL, "sl", "osMakeNotecard(string notecardName, list contents)\nWrite a Notecard contained in Prim with contents of list\nhttp://opensimulator.org/wiki/OSSL_Implemented"));
543 addFunction(new LLScriptLibraryFunction(10.f, 0.f, dummy_func, "osGetNotecardLine", "s", "si", "string osGetNotecardLine(string name, int line)Replaces LL Dataserver event to pull notecard data,\nReads the requested line and return its data as a string\nhttp://opensimulator.org/wiki/OSSL_Implemented"));
544 addFunction(new LLScriptLibraryFunction(10.f, 0.f, dummy_func, "osGetNotecard", "s", "s", "string osGetNotecard(string name)\nReplaces LL Dataserver event to pull notecard data line by line,\nReads the entire notecard and return its data as a string.\nhttp://opensimulator.org/wiki/OSSL_Implemented"));
545 addFunction(new LLScriptLibraryFunction(10.f, 0.f, dummy_func, "osGetNumberOfNotecardLines", "i", "s", "integer osGetNumberOfNotecardLines(string name)\nReturns total number of lines in a notecard\nhttp://opensimulator.org/wiki/OSSL_Implemented"));
546 addFunction(new LLScriptLibraryFunction(10.f, 0.f, dummy_func, "osAvatarName2Key", "s", "ss", "string osAvatarName2Key(string firstname, string lastname)\nReturns the Avatar UUID from their firstname, lastname\nhttp://opensimulator.org/wiki/OSSL_Implemented"));
547 addFunction(new LLScriptLibraryFunction(10.f, 0.f, dummy_func, "osKey2Name", "s", "k", "string osKey2Name(key id)\nReturns Avatar Name from their UUID key\nhttp://opensimulator.org/wiki/OSSL_Implemented"));
548 addFunction(new LLScriptLibraryFunction(10.f, 0.f, dummy_func, "osGetGridNick", "s", NULL, "string osGetGridNick()\nReturns Grid Nickname\nhttp://opensimulator.org/wiki/OSSL_Implemented"));
549 addFunction(new LLScriptLibraryFunction(10.f, 0.f, dummy_func, "osGetGridName", "s", NULL, "string osGetGridName()\nReturns Grid Name\nhttp://opensimulator.org/wiki/OSSL_Implemented"));
550 addFunction(new LLScriptLibraryFunction(10.f, 0.f, dummy_func, "osGetGridLoginURI", "s", NULL, "string osGetGridLoginURI()\nReturns Grid LoginURI\nhttp://opensimulator.org/wiki/OSSL_Implemented"));
551 addFunction(new LLScriptLibraryFunction(10.f, 0.f, dummy_func, "osFormatString", "s", "sl", "string osFormatString(string str, list strings)\nReturn the string with parameters substituted into it (format comes from .NET String.Format class) in.\nParameters are specified positionally.\nhttp://opensimulator.org/wiki/OSSL_Implemented"));
552 addFunction(new LLScriptLibraryFunction(10.f, 0.f, dummy_func, "osMatchString", "l", "ssi", "list osMatchString(string src, string pattern, int start)Return a list of matches for the pattern and its components inside the source string.\nThe pattern is a regular expression. Each match in the result is the string that matched and its position in the source.\nhttp://opensimulator.org/wiki/OSSL_Implemented"));
553 addFunction(new LLScriptLibraryFunction(10.f, 0.f, dummy_func, "osLoadedCreationDate", "s", NULL, "string osLoadedCreationDate()\nReturns Creation Date from meta data of OAR.\nhttp://opensimulator.org/wiki/OSSL_Implemented"));
554 addFunction(new LLScriptLibraryFunction(10.f, 0.f, dummy_func, "osLoadedCreationTime", "s", NULL, "string osLoadedCreationTime()\nReturns Creation Time from meta data of OAR.\nhttp://opensimulator.org/wiki/OSSL_Implemented"));
555 addFunction(new LLScriptLibraryFunction(10.f, 0.f, dummy_func, "osLoadedCreationID", "s", NULL, "string osLoadedCreationID ()\nReturns Creation ID from meta data of OAR.\nNot Machine Identying.\nhttp://opensimulator.org/wiki/OSSL_Implemented"));
556 addFunction(new LLScriptLibraryFunction(10.f, 0.f, dummy_func, "osGetLinkPrimitiveParams", "l", "il", "list osGetLinkPrimitiveParams(int linknumber, list rules)\nhttp://opensimulator.org/wiki/OSSL_Implemented"));
557 addFunction(new LLScriptLibraryFunction(10.f, 0.f, dummy_func, "osNpcCreate", "k", "ssvk", "key osNpcCreate(string firstname, string lastname, LSL_Vector position, LSL_Key cloneFrom)\nhttp://opensimulator.org/wiki/OSSL_Implemented"));
558 addFunction(new LLScriptLibraryFunction(10.f, 0.f, dummy_func, "osNpcMoveTo", NULL, "kv", "key osNpcMoveTo(LSL_Key npc, LSL_Vector position)\nhttp://opensimulator.org/wiki/OSSL_Implemented"));
559 addFunction(new LLScriptLibraryFunction(10.f, 0.f, dummy_func, "osNpcSay", NULL, "ks", "key osNpcSay(LSL_Key npc, string message)\nhttp://opensimulator.org/wiki/OSSL_Implemented"));
560 addFunction(new LLScriptLibraryFunction(10.f, 0.f, dummy_func, "osNpcRemove", NULL, "k", "key osNpcRemove(LSL_Key npc)\nhttp://opensimulator.org/wiki/OSSL_Implemented"));
561 addFunction(new LLScriptLibraryFunction(10.f, 0.f, dummy_func, "osGetMapTexture", "k", NULL, "key osGetMapTexture() Returns the Map Texture UUID\nhttp://opensimulator.org/wiki/OSSL_Implemented"));
562 addFunction(new LLScriptLibraryFunction(10.f, 0.f, dummy_func, "osGetRegionMapTexture", "k", NULL, "key osGetRegionMapTexture(string regionName) Returns the Map Texture UUID for the regionName requested\nhttp://opensimulator.org/wiki/OSSL_Implemented"));
563 addFunction(new LLScriptLibraryFunction(10.f, 0.f, dummy_func, "osGetRegionStats", "l", NULL, "List osGetRegionStats() Returns a list of float values representing a number of region statistics (21 of the values shown in the Statistics Bar of LL-based clients)\nhttp://opensimulator.org/wiki/OSSL_Implemented"));
564 addFunction(new LLScriptLibraryFunction(10.f, 0.f, dummy_func, "osGetSimulatorMemory", "i", NULL, "Integer osGetSimulatorMemory() Returns the Actual Amount of RAM used by the OpenSim Instance this is requested from\nhttp://opensimulator.org/wiki/OSSL_Implemented"));
565 addFunction(new LLScriptLibraryFunction(10.f, 0.f, dummy_func, "osKickAvatar", NULL, "sss", "osKickAvatar(string FirstName, string LastName, string alert) Kicks avatar from Region with an Alert Message\nhttp://opensimulator.org/wiki/OSSL_Implemented"));
566 addFunction(new LLScriptLibraryFunction(10.f, 0.f, dummy_func, "osSetSpeed", NULL, "kf", "osSetSpeed(key AVATAR, float SpeedModifier) Changes Specified Avatar (UUID) to speed up. It multiplies the running, walking, and flying of the avatar.\nhttp://opensimulator.org/wiki/OSSL_Implemented"));
567 addFunction(new LLScriptLibraryFunction(10.f, 0.f, dummy_func, "osCauseDamage", NULL, "kf", "osCauseDamage(key AVATAR, float damage) Causes damage to specified AVATAR (UUID)\nhttp://opensimulator.org/wiki/OSSL_Implemented"));
568 addFunction(new LLScriptLibraryFunction(10.f, 0.f, dummy_func, "osCauseHealing", NULL, "kf", "osCauseHealing(key AVATAR, float healing)Causes Healing to specified AVATAR (UUID)\nhttp://opensimulator.org/wiki/OSSL_Implemented"));
475} 569}
476 570
477LLScriptLibraryFunction::LLScriptLibraryFunction(F32 eu, F32 st, void (*exec_func)(LLScriptLibData *, LLScriptLibData *, const LLUUID &), const char *name, const char *ret_type, const char *args, const char *desc, BOOL god_only) 571LLScriptLibraryFunction::LLScriptLibraryFunction(F32 eu, F32 st, void (*exec_func)(LLScriptLibData *, LLScriptLibData *, const LLUUID &), const char *name, const char *ret_type, const char *args, const char *desc, BOOL god_only)