OSSL support by Fritigern, fixes #122
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
/**
|
||||
/**
|
||||
* @file lscript_library.cpp
|
||||
* @brief external library interface
|
||||
*
|
||||
* $LicenseInfo:firstyear=2002&license=viewergpl$
|
||||
*
|
||||
*
|
||||
* Copyright (c) 2002-2009, Linden Research, Inc.
|
||||
*
|
||||
*
|
||||
* Second Life Viewer Source Code
|
||||
* The source code in this file ("Source Code") is provided by Linden Lab
|
||||
* to you under the terms of the GNU General Public License, version 2.0
|
||||
@@ -13,17 +13,17 @@
|
||||
* ("Other License"), formally executed by you and Linden Lab. Terms of
|
||||
* the GPL can be found in doc/GPL-license.txt in this distribution, or
|
||||
* online at http://secondlifegrid.net/programs/open_source/licensing/gplv2
|
||||
*
|
||||
*
|
||||
* There are special exceptions to the terms and conditions of the GPL as
|
||||
* it is applied to this Source Code. View the full text of the exception
|
||||
* in the file doc/FLOSS-exception.txt in this software distribution, or
|
||||
* online at
|
||||
* http://secondlifegrid.net/programs/open_source/licensing/flossexception
|
||||
*
|
||||
*
|
||||
* By copying, modifying or distributing this software, you acknowledge
|
||||
* that you have read and understood your obligations described above,
|
||||
* and agree to abide by those obligations.
|
||||
*
|
||||
*
|
||||
* ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
|
||||
* WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
|
||||
* COMPLETENESS OR PERFORMANCE.
|
||||
@@ -37,7 +37,7 @@
|
||||
// ## ## ## ## ## ######## ## ## ## ## ## ## ## ## #### ## ##
|
||||
// ## ## ## ######### ## ## ## #### ## ## #### ## ##
|
||||
// ## ## ## ## ## ## ## ## ### ## ## ### ## ## #### ####
|
||||
// ### ### ## ## ## ## ## ## #### ## ## ###### #### ####
|
||||
// ### ### ## ## ## ## ## ## #### ## ## ###### #### ####
|
||||
//
|
||||
// When adding functions, they <b>MUST</b> be appended to the end of
|
||||
// the init() method. The init() associates the name with a number,
|
||||
@@ -327,7 +327,7 @@ void LLScriptLibrary::init()
|
||||
|
||||
addFunction(10.f, 0.2f, dummy_func, "llSetRemoteScriptAccessPin", NULL, "i");
|
||||
addFunction(10.f, 3.f, dummy_func, "llRemoteLoadScriptPin", NULL, "ksiii");
|
||||
|
||||
|
||||
addFunction(10.f, 1.f, dummy_func, "llOpenRemoteDataChannel", NULL, NULL);
|
||||
addFunction(10.f, 3.f, dummy_func, "llSendRemoteData", "k", "ksis");
|
||||
addFunction(10.f, 3.f, dummy_func, "llRemoteDataReply", NULL, "kksi");
|
||||
@@ -343,7 +343,7 @@ void LLScriptLibrary::init()
|
||||
addFunction(10.f, 0.f, dummy_func, "llLog", "f", "f");
|
||||
addFunction(10.f, 0.f, dummy_func, "llGetAnimationList", "l", "k");
|
||||
addFunction(10.f, 2.f, dummy_func, "llSetParcelMusicURL", NULL, "s");
|
||||
|
||||
|
||||
addFunction(10.f, 0.f, dummy_func, "llGetRootPosition", "v", NULL);
|
||||
addFunction(10.f, 0.f, dummy_func, "llGetRootRotation", "q", NULL);
|
||||
|
||||
@@ -362,7 +362,7 @@ void LLScriptLibrary::init()
|
||||
addFunction(10.f, 0.0f, dummy_func, "llBase64ToInteger", "i", "s");
|
||||
addFunction(10.f, 0.f, dummy_func, "llGetGMTclock", "f", "");
|
||||
addFunction(10.f, 10.f, dummy_func, "llGetSimulatorHostname", "s", "");
|
||||
|
||||
|
||||
addFunction(10.f, 0.2f, dummy_func, "llSetLocalRot", NULL, "q");
|
||||
|
||||
addFunction(10.f, 0.f, dummy_func, "llParseStringKeepNulls", "l", "sll");
|
||||
@@ -385,12 +385,12 @@ void LLScriptLibrary::init()
|
||||
addFunction(10.f, 2.f, dummy_func, "llParcelMediaQuery", "l", "l");
|
||||
|
||||
addFunction(10.f, 1.f, dummy_func, "llModPow", "i", "iii");
|
||||
|
||||
|
||||
addFunction(10.f, 0.f, dummy_func, "llGetInventoryType", "i", "s");
|
||||
addFunction(10.f, 0.f, dummy_func, "llSetPayPrice", NULL, "il");
|
||||
addFunction(10.f, 0.f, dummy_func, "llGetCameraPos", "v", "");
|
||||
addFunction(10.f, 0.f, dummy_func, "llGetCameraRot", "q", "");
|
||||
|
||||
|
||||
addFunction(10.f, 20.f, dummy_func, "llSetPrimURL", NULL, "s");
|
||||
addFunction(10.f, 20.f, dummy_func, "llRefreshPrimURL", NULL, "");
|
||||
addFunction(10.f, 0.f, dummy_func, "llEscapeURL", "s", "s");
|
||||
@@ -403,7 +403,7 @@ void LLScriptLibrary::init()
|
||||
|
||||
addFunction(10.f, 0.f, dummy_func, "llSetCameraParams", NULL, "l");
|
||||
addFunction(10.f, 0.f, dummy_func, "llClearCameraParams", NULL, NULL);
|
||||
|
||||
|
||||
addFunction(10.f, 0.f, dummy_func, "llListStatistics", "f", "il");
|
||||
addFunction(10.f, 0.f, dummy_func, "llGetUnixTime", "i", NULL);
|
||||
addFunction(10.f, 0.f, dummy_func, "llGetParcelFlags", "i", "v");
|
||||
@@ -425,7 +425,7 @@ void LLScriptLibrary::init()
|
||||
addFunction(10.f, 0.2f, dummy_func, "llSetLinkPrimitiveParams", NULL, "il");
|
||||
addFunction(10.f, 0.2f, dummy_func, "llSetLinkTexture", NULL, "isi");
|
||||
|
||||
|
||||
|
||||
addFunction(10.f, 0.f, dummy_func, "llStringTrim", "s", "si");
|
||||
addFunction(10.f, 0.f, dummy_func, "llRegionSay", NULL, "is");
|
||||
addFunction(10.f, 0.f, dummy_func, "llGetObjectDetails", "l", "kl");
|
||||
@@ -470,11 +470,135 @@ void LLScriptLibrary::init()
|
||||
addFunction(10.f, 0.f, dummy_func, "llGetEnv", "s", "s");
|
||||
addFunction(10.f, 0.f, dummy_func, "llRegionSayTo", NULL, "kis");
|
||||
|
||||
// Adding missing (more recent) LSL functions.
|
||||
|
||||
addFunction(10.f, 0.f, dummy_func, "llCastRay", "l", "vvl");
|
||||
addFunction(10.f, 0.f, dummy_func, "llGetSPMaxMemory", "i", NULL);
|
||||
addFunction(10.f, 0.f, dummy_func, "llGetUsedMemory", "i", NULL);
|
||||
addFunction(10.f, 0.f, dummy_func, "llGodLikeRezObject", NULL, "kv");
|
||||
addFunction(10.f, 0.f, dummy_func, "llScriptProfiler", NULL, "i");
|
||||
addFunction(10.f, 0.f, dummy_func, "llSetInventoryPermMask", NULL, "sii");
|
||||
addFunction(10.f, 0.f, dummy_func, "llSetObjectPermMask", NULL, "ii");
|
||||
|
||||
// energy, sleep, dummy_func, name, return type, parameters, help text, gods-only
|
||||
|
||||
// IF YOU ADD NEW SCRIPT CALLS, YOU MUST PUT THEM AT THE END OF THIS LIST.
|
||||
// Otherwise the bytecode numbers for each call will be wrong, and all
|
||||
// existing scripts will crash.
|
||||
|
||||
// REGARDING OSSL FUNCTIONS
|
||||
// These additions should be posted underneath the llFunctions
|
||||
// These functions pertain to OpenSimulator and are in no part applicable to SecondLife by Linden Labs
|
||||
// The Current State of these functions are in flux and development is ongoing. Not all the functions are presently
|
||||
// documented and therefore the description may be incomplete and require further attention.
|
||||
// OpenSimulator is written in C# and not CPP therefore some values for example "double = float" etc. are different.
|
||||
|
||||
// OSSL corrections and syntax additions added + set in same order as found in OSSL_stub.cs of OpenSim Source (Updated PM October-21-2010
|
||||
// based on OpenSimulator Ver. 0.7.x DEV/Master Git # a7acb650d400a280a7b9edabd304376dff9c81af - a7acb65-r/14142
|
||||
// Updates by WhiteStar Magic
|
||||
|
||||
addFunction(10.f, 0.f, dummy_func, "osSetRegionWaterHeight", NULL, "f");
|
||||
addFunction(10.f, 0.f, dummy_func, "osSetRegionSunSettings", NULL, "iif");
|
||||
addFunction(10.f, 0.f, dummy_func, "osSetEstateSunSettings", NULL, "if");
|
||||
addFunction(10.f, 0.f, dummy_func, "osGetCurrentSunHour", "f", NULL);
|
||||
addFunction(10.f, 0.f, dummy_func, "osSunGetParam","f", "s"); // Deprecated. Use osGetSunParam instead
|
||||
addFunction(10.f, 0.f, dummy_func, "osSunSetParam", "sf", NULL); // Deprecated. Use osSetSunParam instead
|
||||
addFunction(10.f, 0.f, dummy_func, "osWindActiveModelPluginName", "s", NULL);
|
||||
addFunction(10.f, 0.f, dummy_func, "osParcelJoin", NULL, "vv");
|
||||
addFunction(10.f, 0.f, dummy_func, "osParcelSubdivide", NULL, "vv");
|
||||
addFunction(10.f, 0.f, dummy_func, "osParcelSetDetails", NULL, "vv"); // Deprecated. Use osSetParcelDetails instead.
|
||||
// addFunction(10.f, 0.f, dummy_func, "osWindParamSet", NULL, "ssf"); // This function was renamed before it was implemented. Leaving this in for now.
|
||||
// addFunction(10.f, 0.f, dummy_func, "osWindParamGet", "f", "ss"); // This function was renamed before it was implemented. Leaving this in for now.
|
||||
addFunction(10.f, 0.f, dummy_func, "osList2Double", "f", "li");
|
||||
addFunction(10.f, 0.f, dummy_func, "osSetDynamicTextureURL", NULL, "ksssi");
|
||||
addFunction(10.f, 0.f, dummy_func, "osSetDynamicTextureData", NULL, "ksssi");
|
||||
addFunction(10.f, 0.f, dummy_func, "osSetDynamicTextureURLBlend", NULL, "ksssii");
|
||||
addFunction(10.f, 0.f, dummy_func, "osSetDynamicTextureDataBlend", NULL, "ksssii");
|
||||
addFunction(10.f, 0.f, dummy_func, "osSetDynamicTextureURLBlendFace", NULL, "ksssfiiii");
|
||||
addFunction(10.f, 0.f, dummy_func, "osSetDynamicTextureDataBlendFace", NULL, "ksssfiiii");
|
||||
addFunction(10.f, 0.f, dummy_func, "osTerrainGetHeight", "f", "ii"); // Deprecated. Use osGetTerrainHeight instead
|
||||
addFunction(10.f, 0.f, dummy_func, "osTerrainSetHeight", NULL, "iif"); // Deprecated. Use osSetTerrainHeight instead
|
||||
addFunction(10.f, 0.f, dummy_func, "osTerrainFlush", NULL, NULL);
|
||||
addFunction(10.f, 0.f, dummy_func, "osRegionRestart", "i", "f");
|
||||
addFunction(10.f, 0.f, dummy_func, "osRegionNotice",NULL, "s");
|
||||
addFunction(10.f, 0.f, dummy_func, "osConsoleCommand", NULL, "s");
|
||||
addFunction(10.f, 0.f, dummy_func, "osSetParcelMediaURL", NULL, "s");
|
||||
addFunction(10.f, 0.f, dummy_func, "osSetParcelSIPAddress", NULL, "s");
|
||||
addFunction(10.f, 0.f, dummy_func, "osSetPrimFloatOnWater", NULL, "i");
|
||||
addFunction(10.f, 0.f, dummy_func, "osTeleportAgent", NULL, "ksvv");
|
||||
addFunction(10.f, 0.f, dummy_func, "osGetAgentIP", "s", "k");
|
||||
addFunction(10.f, 0.f, dummy_func, "osGetAgents", "l", NULL);
|
||||
addFunction(10.f, 0.f, dummy_func, "osAvatarPlayAnimation", NULL, "ks");
|
||||
addFunction(10.f, 0.f, dummy_func, "osAvatarStopAnimation", NULL, "ks");
|
||||
addFunction(10.f, 0.f, dummy_func, "osMovePen", NULL, "sii");
|
||||
addFunction(10.f, 0.f, dummy_func, "osDrawLine", NULL, "siiii");
|
||||
addFunction(10.f, 0.f, dummy_func, "osDrawText", NULL, "ss");
|
||||
addFunction(10.f, 0.f, dummy_func, "osDrawEllipse", NULL, "sii");
|
||||
addFunction(10.f, 0.f, dummy_func, "osDrawRectangle", NULL, "sii");
|
||||
addFunction(10.f, 0.f, dummy_func, "osDrawFilledRectangle", NULL, "sii");
|
||||
addFunction(10.f, 0.f, dummy_func, "osDrawPolygon", "s", "sll");
|
||||
addFunction(10.f, 0.f, dummy_func, "osDrawFilledPolygon", "s", "sll");
|
||||
addFunction(10.f, 0.f, dummy_func, "osSetFontSize", NULL, "si");
|
||||
addFunction(10.f, 0.f, dummy_func, "osSetFontName", NULL, "ss");
|
||||
addFunction(10.f, 0.f, dummy_func, "osSetPenSize", NULL, "si");
|
||||
addFunction(10.f, 0.f, dummy_func, "osSetPenCap", NULL, "sss");
|
||||
addFunction(10.f, 0.f, dummy_func, "osSetPenColour", NULL, "ss"); // Deprecated. Use osSetPenColor instead
|
||||
addFunction(10.f, 0.f, dummy_func, "osDrawImage", NULL, "siis");
|
||||
addFunction(10.f, 0.f, dummy_func, "osGetDrawStringSize", "v", "sssi");
|
||||
addFunction(10.f, 0.f, dummy_func, "osSetStateEvents", NULL, "i");
|
||||
addFunction(10.f, 0.f, dummy_func, "osGetScriptEngineName", "s", NULL);
|
||||
addFunction(10.f, 0.f, dummy_func, "osGetSimulatorVersion", "s", NULL);
|
||||
addFunction(10.f, 0.f, dummy_func, "osParseJSON", "s", "s");
|
||||
addFunction(10.f, 0.f, dummy_func, "osMessageObject", NULL, "ks");
|
||||
addFunction(10.f, 0.f, dummy_func, "osMakeNotecard", NULL, "sl");
|
||||
addFunction(10.f, 0.f, dummy_func, "osGetNotecardLine", "s", "si");
|
||||
addFunction(10.f, 0.f, dummy_func, "osGetNotecard", "s", "s");
|
||||
addFunction(10.f, 0.f, dummy_func, "osGetNumberOfNotecardLines", "i", "s");
|
||||
addFunction(10.f, 0.f, dummy_func, "osAvatarName2Key", "k", "ss");
|
||||
addFunction(10.f, 0.f, dummy_func, "osKey2Name", "s", "k");
|
||||
addFunction(10.f, 0.f, dummy_func, "osGetGridNick", "s", NULL);
|
||||
addFunction(10.f, 0.f, dummy_func, "osGetGridName", "s", NULL);
|
||||
addFunction(10.f, 0.f, dummy_func, "osGetGridLoginURI", "s", NULL);
|
||||
addFunction(10.f, 0.f, dummy_func, "osFormatString", "s", "sl");
|
||||
addFunction(10.f, 0.f, dummy_func, "osMatchString", "l", "ssi");
|
||||
addFunction(10.f, 0.f, dummy_func, "osLoadedCreationDate", "s", NULL);
|
||||
addFunction(10.f, 0.f, dummy_func, "osLoadedCreationTime", "s", NULL);
|
||||
addFunction(10.f, 0.f, dummy_func, "osLoadedCreationID", "s", NULL);
|
||||
addFunction(10.f, 0.f, dummy_func, "osGetLinkPrimitiveParams", "l", "il");
|
||||
addFunction(10.f, 0.f, dummy_func, "osNpcCreate", "k", "ssvk");
|
||||
addFunction(10.f, 0.f, dummy_func, "osNpcMoveTo", NULL, "kv");
|
||||
addFunction(10.f, 0.f, dummy_func, "osNpcSay", NULL, "ks");
|
||||
addFunction(10.f, 0.f, dummy_func, "osNpcRemove", NULL, "k");
|
||||
addFunction(10.f, 0.f, dummy_func, "osGetMapTexture", "k", NULL);
|
||||
addFunction(10.f, 0.f, dummy_func, "osGetRegionMapTexture", "k", "s");
|
||||
addFunction(10.f, 0.f, dummy_func, "osGetRegionStats", "l", NULL);
|
||||
addFunction(10.f, 0.f, dummy_func, "osGetSimulatorMemory", "i", NULL);
|
||||
addFunction(10.f, 0.f, dummy_func, "osKickAvatar", NULL, "sss");
|
||||
addFunction(10.f, 0.f, dummy_func, "osSetSpeed", NULL, "kf");
|
||||
addFunction(10.f, 0.f, dummy_func, "osCauseDamage", NULL, "kf");
|
||||
addFunction(10.f, 0.f, dummy_func, "osCauseHealing", NULL, "kf");
|
||||
addFunction(10.f, 0.f, dummy_func, "osGetPrimitiveParams", "l", "kl");
|
||||
addFunction(10.f, 0.f, dummy_func, "osSetPrimitiveParams", NULL, "kl");
|
||||
addFunction(10.f, 0.f, dummy_func, "osSetProjectionParams", NULL, "kikfff");
|
||||
addFunction(10.f, 0.f, dummy_func, "osUnixTimeToTimestamp", "s", "i");
|
||||
addFunction(10.f, 0.f, dummy_func, "osSetPenColor", NULL, "ss");
|
||||
addFunction(10.f, 0.f, dummy_func, "osGetSunParam","f", "s");
|
||||
addFunction(10.f, 0.f, dummy_func, "osSetSunParam", "sf", NULL);
|
||||
addFunction(10.f, 0.f, dummy_func, "osSetParcelDetails", NULL, "vl");
|
||||
addFunction(10.f, 0.f, dummy_func, "osGetTerrainHeight", "f", "ii");
|
||||
addFunction(10.f, 0.f, dummy_func, "osSetTerrainHeight", NULL, "iif");
|
||||
addFunction(10.f, 0.f, dummy_func, "osGetAvatarList", "l", NULL);
|
||||
addFunction(10.f, 0.f, dummy_func, "osTeleportOwner", NULL, "svv");
|
||||
|
||||
// LightShare functions
|
||||
addFunction(10.f, 0.f, dummy_func, "cmSetWindlightScene", "i", "l");
|
||||
addFunction(10.f, 0.f, dummy_func, "cmSetWindlightSceneTargeted", "i", "lk");
|
||||
addFunction(10.f, 0.f, dummy_func, "cmGetWindlightScene", "l", "l");
|
||||
// LightShare functions - alternate versions
|
||||
// don't ask me why they renamed 'em, but we need to include both versions -- MC
|
||||
addFunction(10.f, 0.f, dummy_func, "lsSetWindlightScene", "i", "l");
|
||||
addFunction(10.f, 0.f, dummy_func, "lsSetWindlightSceneTargeted", "i", "lk");
|
||||
addFunction(10.f, 0.f, dummy_func, "lsGetWindlightScene", "l", "l");
|
||||
}
|
||||
|
||||
LLScriptLibraryFunction::LLScriptLibraryFunction(F32 eu, F32 st, void (*exec_func)(LLScriptLibData *, LLScriptLibData *, const LLUUID &), const char *name, const char *ret_type, const char *args, BOOL god_only)
|
||||
@@ -494,7 +618,7 @@ void LLScriptLibrary::addFunction(F32 eu, F32 st, void (*exec_func)(LLScriptLibD
|
||||
|
||||
void LLScriptLibrary::assignExec(const char *name, void (*exec_func)(LLScriptLibData *, LLScriptLibData *, const LLUUID &))
|
||||
{
|
||||
for (std::vector<LLScriptLibraryFunction>::iterator i = mFunctions.begin();
|
||||
for (std::vector<LLScriptLibraryFunction>::iterator i = mFunctions.begin();
|
||||
i != mFunctions.end(); ++i)
|
||||
{
|
||||
if (!strcmp(name, i->mName))
|
||||
@@ -503,7 +627,7 @@ void LLScriptLibrary::assignExec(const char *name, void (*exec_func)(LLScriptLib
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
llerrs << "Unknown LSL function in assignExec: " << name << llendl;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
|
||||
<!-- This file contains strings that used to be hardcoded in the source.
|
||||
It is only for those strings which don't belong in a floater.
|
||||
For example, the strings used in avatar chat bubbles, and strings
|
||||
For example, the strings used in avatar chat bubbles, and strings
|
||||
that are returned from one component and may appear in many places-->
|
||||
<strings>
|
||||
|
||||
|
||||
<string name="hippo_label_free">free</string>
|
||||
<string name="hippo_label_week">week</string>
|
||||
<string name="TeleportOfferMaturity">
|
||||
@@ -12,7 +12,7 @@
|
||||
</string>
|
||||
<string name="TeleportLureMaturity">
|
||||
[NAME]'s teleport lure is to [DESTINATION]
|
||||
</string>
|
||||
</string>
|
||||
|
||||
<!-- Login -->
|
||||
<string name="LoginInProgress">Logging in. [APP_NAME] may appear frozen. Please wait.</string>
|
||||
@@ -36,8 +36,8 @@
|
||||
|
||||
<!-- Disconnection -->
|
||||
<string name="AgentLostConnection">This region may be experiencing trouble. Please check your connection to the Internet.</string>
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- Tooltip, llhoverview.cpp -->
|
||||
<string name="TooltipPerson">Person</string><!-- Object under mouse pointer is an avatar -->
|
||||
<string name="TooltipNoName">(no name)</string> <!-- No name on an object -->
|
||||
@@ -63,9 +63,9 @@
|
||||
<string name="TooltipFlagGroupScripts">Group Scripts</string>
|
||||
<string name="TooltipFlagNoScripts">No Scripts</string>
|
||||
<string name="TooltipLand">Land:</string>
|
||||
<string name="TooltipMustSingleDrop">Only a single item can be dragged here</string>
|
||||
<string name="TooltipMustSingleDrop">Only a single item can be dragged here</string>
|
||||
|
||||
|
||||
|
||||
<!-- Indicates that an avatar's name or other similar datum is being retrieved. General usage. -->
|
||||
<string name="RetrievingData">Retrieving...</string>
|
||||
|
||||
@@ -73,21 +73,21 @@
|
||||
|
||||
<!-- Indicates something is being loaded. Maybe should be merged with RetrievingData -->
|
||||
<string name="LoadingData">Loading...</string>
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- namecache -->
|
||||
<!-- Avatar name: text shown for LLUUID::null -->
|
||||
<string name="AvatarNameNobody">(nobody)</string>
|
||||
|
||||
|
||||
<!-- Avatar name: text shown while fetching name -->
|
||||
<string name="AvatarNameWaiting">(waiting)</string>
|
||||
|
||||
<!-- Avatar name: text shown as an alternative to AvatarNameFetching, easter egg. -->
|
||||
<string name="AvatarNameHippos">(hippos)</string>
|
||||
|
||||
|
||||
<!-- Group name: text shown for LLUUID::null -->
|
||||
<string name="GroupNameNone">(none)</string>
|
||||
|
||||
|
||||
<!-- Asset errors. Used in llassetstorage.cpp, translation from error code to error message. -->
|
||||
<string name="AssetErrorNone">No error</string>
|
||||
<string name="AssetErrorRequestFailed">Asset request: failed</string>
|
||||
@@ -100,7 +100,7 @@
|
||||
<string name="AssetErrorCircuitGone">Circuit gone</string>
|
||||
<string name="AssetErrorPriceMismatch">Viewer and server do not agree on price</string>
|
||||
<string name="AssetErrorUnknownStatus">Unknown status</string>
|
||||
|
||||
|
||||
<!-- llvoavatar. Displayed in the avatar's chat bubble -->
|
||||
<string name="AvatarEditingApparance">(Editing Appearance)</string>
|
||||
<string name="AvatarAway">Away</string>
|
||||
@@ -177,24 +177,24 @@
|
||||
<string name="anim_express_worry">Worry</string>
|
||||
<string name="anim_yes_happy">Yes (Happy)</string>
|
||||
<string name="anim_yes_head">Yes</string>
|
||||
|
||||
|
||||
<string name="texture_loading">Loading...</string>
|
||||
<string name="worldmap_offline">Offline</string>
|
||||
|
||||
|
||||
<!-- Chat -->
|
||||
<string name="whisper">whispers:</string>
|
||||
<string name="shout">shouts:</string>
|
||||
|
||||
|
||||
<!-- Sim Access labels -->
|
||||
<string name="SIM_ACCESS_PG">PG</string>
|
||||
<string name="SIM_ACCESS_MATURE">Mature</string>
|
||||
<string name="SIM_ACCESS_ADULT">Adult</string>
|
||||
<string name="SIM_ACCESS_DOWN">Offline</string>
|
||||
<string name="SIM_ACCESS_MIN">Unknown</string>
|
||||
|
||||
|
||||
<!-- For use when we do not have land type back from the server -->
|
||||
<string name="land_type_unknown">(unknown)</string>
|
||||
|
||||
|
||||
<!-- Covenant info -->
|
||||
<string name="covenant_never_modified">Last Modified: (never)</string>
|
||||
<string name="covenant_modified">Last Modified: </string>
|
||||
@@ -215,7 +215,7 @@
|
||||
<string name="compressed_image_files">Compressed Images</string>
|
||||
<string name="load_files">Load Files</string>
|
||||
<string name="choose_the_directory">Choose Directory</string>
|
||||
|
||||
|
||||
<!-- LSL Usage Hover Tips -->
|
||||
<string name="LSLTipSleepTime">
|
||||
Sleeps script for [SLEEP_TIME] seconds.
|
||||
@@ -1650,8 +1650,8 @@ string llGetHTTPHeader(key request_id, string header)
|
||||
Returns the value for header for request_id
|
||||
</string>
|
||||
<string name="LSLTipText_llSetPrimMediaParams">
|
||||
integer llSetPrimMediaParams(integer face, list params)
|
||||
Returns an integer that is a STATUS_* flag which details the success/failure of the operation(s).
|
||||
integer llSetPrimMediaParams(integer face, list params)
|
||||
Returns an integer that is a STATUS_* flag which details the success/failure of the operation(s).
|
||||
</string>
|
||||
<string name="LSLTipText_llGetPrimMediaParams">
|
||||
list llGetPrimMediaParams(integer face, list params)
|
||||
@@ -1659,54 +1659,589 @@ Returns the media params for a particular face on an object, given the desired l
|
||||
(Returns an empty list if no media exists on the face.)
|
||||
</string>
|
||||
<string name="LSLTipText_llClearPrimMedia">
|
||||
integer llClearPrimMedia(integer face)
|
||||
Returns an integer that is a STATUS_* flag which details the success/failure of the operation.
|
||||
integer llClearPrimMedia(integer face)
|
||||
Returns an integer that is a STATUS_* flag which details the success/failure of the operation.
|
||||
</string>
|
||||
<string name="LSLTipText_llSetLinkPrimitiveParamsFast">
|
||||
llSetLinkPrimitiveParamsFast(integer linknumber, list rules)
|
||||
Set primitive parameters for linknumber based on rules with no built-in script sleep.
|
||||
llSetLinkPrimitiveParamsFast(integer linknumber, list rules)
|
||||
Set primitive parameters for linknumber based on rules with no built-in script sleep.
|
||||
</string>
|
||||
<string name="LSLTipText_llGetLinkPrimitiveParams">
|
||||
list llGetLinkPrimitiveParams(integer linknumber,list rules)
|
||||
list llGetLinkPrimitiveParams(integer linknumber,list rules)
|
||||
Get primitive parameters for linknumber based on rules.
|
||||
</string>
|
||||
<string name="LSLTipText_llLinkParticleSystem">
|
||||
list llLinkParticleSystem(integer linknumber, list rules)
|
||||
list llLinkParticleSystem(integer linknumber, list rules)
|
||||
Creates a particle system based on rules. Empty list removes particle system from object.
|
||||
List format is [ rule1, data1, rule2, data2 . . . rulen, datan ].
|
||||
</string>
|
||||
<string name="LSLTipText_llSetLinkTextureAnim">
|
||||
llSetLinkTextureAnim(integer link, integer mode, integer face, integer sizex, integer sizey, float start, float length, float rate)
|
||||
Animate the texture on the specified face/faces of the specified prim/prims by setting the texture scale and offset.
|
||||
llSetLinkTextureAnim(integer link, integer mode, integer face, integer sizex, integer sizey, float start, float length, float rate)
|
||||
Animate the texture on the specified face/faces of the specified prim/prims by setting the texture scale and offset.
|
||||
</string>
|
||||
<string name="LSLTipText_llGetLinkNumberOfSides">
|
||||
integer llGetLinkNumberOfSides(integer link)
|
||||
Returns the number of sides of the specified linked prim.
|
||||
integer llGetLinkNumberOfSides(integer link)
|
||||
Returns the number of sides of the specified linked prim.
|
||||
</string>
|
||||
<string name="LSLTipText_llGetUsername">
|
||||
string llGetUsername(key id)
|
||||
Returns the single-word username of an avatar, iff the avatar is in the current region, otherwise the empty string.
|
||||
string llGetUsername(key id)
|
||||
Returns the single-word username of an avatar, if the avatar is in the current region, otherwise the empty string.
|
||||
</string>
|
||||
<string name="LSLTipText_llRequestUsername">
|
||||
key llRequestUsername(key id)
|
||||
Requests single-word username of an avatar. When data is available the dataserver event will be raised.
|
||||
key llRequestUsername(key id)
|
||||
Requests single-word username of an avatar. When data is available the dataserver event will be raised.
|
||||
</string>
|
||||
<string name="LSLTipText_llGetDisplayName">
|
||||
string llGetDisplayName(key id)
|
||||
Returns the name of an avatar, iff the avatar is in the current simulator, and the name has been cached, otherwise the same as llGetUsername. Use llRequestDisplayName if you absolutely must have the display name.
|
||||
string llGetDisplayName(key id)
|
||||
Returns the name of an avatar, if the avatar is in the current simulator, and the name has been cached, otherwise the same as llGetUsername. Use llRequestDisplayName if you absolutely must have the display name.
|
||||
</string>
|
||||
<string name="LSLTipText_llRequestDisplayName">
|
||||
key llRequestDisplayName(key id)
|
||||
Requests name of an avatar. When data is available the dataserver event will be raised.
|
||||
key llRequestDisplayName(key id)
|
||||
Requests name of an avatar. When data is available the dataserver event will be raised.
|
||||
</string>
|
||||
<string name="LSLTipText_llRegionSayTo">
|
||||
<string name="LSLTipText_llRegionSayTo">
|
||||
llRegionSayTo(key target, integer channel, string msg)
|
||||
Sends msg on channel (not DEBUG_CHANNEL) directly to prim or avatar target anywhere within the region
|
||||
</string>
|
||||
<string name="LSLTipText_llGetEnv">
|
||||
</string>
|
||||
<string name="LSLTipText_llGetEnv">
|
||||
string llGetEnv(string name)
|
||||
Returns a string with the requested data about the region
|
||||
</string>
|
||||
</string>
|
||||
|
||||
<string name="LSLTipText_llCastRay">
|
||||
list llCastRay( Vector start, Vector end, list options )
|
||||
Returns a list consisting of the following three values for each hit: UUID, Link number, Hit position.
|
||||
</string>
|
||||
<string name="LSLTipText_llGetSPMaxMemory">
|
||||
integer llGetSPMaxMemory( )
|
||||
Returns the integer of the most bytes used while llScriptProfiler was last active.
|
||||
</string>
|
||||
<string name="LSLTipText_llGetUsedMemory">
|
||||
integer llGetUsedMemory( )
|
||||
Returns the integer of the number of bytes of memory currently in use by the script.
|
||||
</string>
|
||||
<string name="LSLTipText_llGodLikeRezObject">
|
||||
llGodLikeRezObject( key inventory, vector pos )
|
||||
Rez directly off of UUID if owner has god-bit set.
|
||||
(Requires god mode)
|
||||
</string>
|
||||
<string name="LSLTipText_llScriptProfiler">
|
||||
llScriptProfiler( integer flags )
|
||||
Enables or disables the scripts profiling state.
|
||||
</string>
|
||||
<string name="LSLTipText_llSetInventoryPermMask">
|
||||
llSetInventoryPermMask( string item, integer mask, integer value )
|
||||
Sets the given permission mask to the new value on the inventory item.
|
||||
(Requires god mode)
|
||||
</string>
|
||||
<string name="LSLTipText_llSetObjectPermMask">
|
||||
llSetObjectPermMask( integer mask, integer value )
|
||||
Sets the given permission mask to the new value on the root object the task is attached to.
|
||||
(Requires god mode)
|
||||
</string>
|
||||
|
||||
<!-- Addition of OSSL commands for use in OpenSimulator based regions, including Aurora -->
|
||||
<string name="LSLTipText_osSetRegionWaterHeight">
|
||||
osSetRegionWaterHeight(float height)
|
||||
Adjusts water height on region.
|
||||
(OpenSim only.)
|
||||
</string>
|
||||
<string name="LSLTipText_osSetRegionSunSettings">
|
||||
osSetRegionSunSettings(integer useEstateSun, integer sunFixed, float sunHour)
|
||||
Changes the estate sun settings, then triggers a sun update
|
||||
'sunFixed' TRUE to keep the sun stationary, FALSE to use global time
|
||||
'sunHour' The sun hour that is desired, 0...24, 0 is sunrise.
|
||||
(OpenSim only.)
|
||||
</string>
|
||||
<string name="LSLTipText_osSetEstateSunSettings">
|
||||
osSetEstateSunSettings(integer sunFixed, float sunHour)
|
||||
sunFixed = TRUE or FALSE, sunHour = 00.00 to 24.00.
|
||||
(OpenSim only.)
|
||||
</string>
|
||||
<string name="LSLTipText_osGetCurrentSunHour">
|
||||
float osGetCurrentSunHour()
|
||||
Returns float value of current sun hour 0...24 0 is sunrise.
|
||||
(OpenSim only.)
|
||||
</string>
|
||||
<string name="LSLTipText_osSunGetParam">
|
||||
*DEPRECATED* Use osGetSunParam instead.
|
||||
(OpenSim only.)
|
||||
</string>
|
||||
<string name="LSLTipText_osSunSetParam">
|
||||
*DEPRECATED* Use osSetSunParam instead.
|
||||
(OpenSim only.)
|
||||
</string>
|
||||
<string name="LSLTipText_osWindActiveModelPluginName">
|
||||
string osWindActiveModelPluginName()
|
||||
Returns the current working wind module installed
|
||||
These are SimpleRandomWind or ConfigurableWind.
|
||||
(OpenSim only.)
|
||||
</string>
|
||||
<string name="LSLTipText_osParcelJoin">
|
||||
osParcelJoin(vector pos1, vector pos2))
|
||||
Joins parcels @ X,Y coordinates.
|
||||
(OpenSim only.)
|
||||
</string>
|
||||
<string name="LSLTipText_osParcelSubdivide">
|
||||
osParcelSubdivide(vector pos1, vector pos2))
|
||||
Subdivides parcels @ X,Y coordinates.
|
||||
(OpenSim only.)
|
||||
</string>
|
||||
<string name="LSLTipText_osParcelSetDetails">
|
||||
*DEPRECATED* Use osSetParcelDetails instead.
|
||||
(OpenSim only.)
|
||||
</string>
|
||||
<string name="LSLTipText_osWindParamSet">
|
||||
*DEPRECATED* Use osSetWindParam instead.
|
||||
(OpenSim only.)
|
||||
</string>
|
||||
<string name="LSLTipText_osWindParamGet">
|
||||
*DEPRECATED* Use osGetWindParam instead.
|
||||
(OpenSim only.)
|
||||
</string>
|
||||
<string name="LSLTipText_osList2Double">
|
||||
double osList2Double(list src, integer index)
|
||||
Returns double-precision value from src at index.
|
||||
(OpenSim only.)
|
||||
</string>
|
||||
<string name="LSLTipText_osSetDynamicTextureURL">
|
||||
osSetDynamicTextureURL(key dynamicID, string contentType, string url, string extraParams, integer timer )
|
||||
Renders a web texture on the prim containing the script, and returns the UUID of the newly created texture.
|
||||
(OpenSim only.)
|
||||
</string>
|
||||
<string name="LSLTipText_osSetDynamicTextureData">
|
||||
osSetDynamicTextureData(key dynamicID, string contentType, string data, string extraParams, integer timer)
|
||||
Writes text and vector graphics onto a prim face.
|
||||
(OpenSim only.)
|
||||
</string>
|
||||
<string name="LSLTipText_osSetDynamicTextureURLBlend">
|
||||
osSetDynamicTextureURLBlend(key dynamicID, string contentType, string url, string extraParams, integer timer, integer alpha)
|
||||
Allows for two dynamic textures to blend on the prim containing this script.
|
||||
(OpenSim only.)
|
||||
</string>
|
||||
<string name="LSLTipText_osSetDynamicTextureDataBlend">
|
||||
osSetDynamicTextureDataBlend(key dynamicID, string contentType, string data, string extraParams, integer timer, integer alpha)
|
||||
Allows for two dynamic textures to blend on the prim containing this script.
|
||||
(OpenSim only.)
|
||||
</string>
|
||||
<string name="LSLTipText_osSetDynamicTextureURLBlendFace">
|
||||
osSetDynamicTextureURLBlendFace(key dynamicID, string contentType, string url, string extraParams, integer blend, integer disp, integer timer, integer alpha, integer face)
|
||||
Loads a web texture on a prim.
|
||||
(OpenSim only.)
|
||||
</string>
|
||||
<string name="LSLTipText_osSetDynamicTextureDataBlendFace">
|
||||
osSetDynamicTextureDataBlendFace(key dynamicID, string contentType, string data, string extraParams, integer blend, integer disp, integer timer, integer alpha, integer face)
|
||||
(OpenSim only.)
|
||||
</string>
|
||||
<string name="LSLTipText_osTerrainGetHeight">
|
||||
*DEPRECATED* Use osGetTerrainHeight instead.
|
||||
(OpenSim only.)
|
||||
</string>
|
||||
<string name="LSLTipText_osTerrainSetHeight">
|
||||
*DEPRECATED* Use osSetTerrainHeight instead.
|
||||
(OpenSim only.)
|
||||
</string>
|
||||
<string name="LSLTipText_osTerrainFlush">
|
||||
osTerrainFlush()
|
||||
Updates terrain data. Call this after you are done using osTerrainSetHeight.
|
||||
(OpenSim only.)
|
||||
</string>
|
||||
<string name="LSLTipText_osRegionRestart">
|
||||
integer osRegionRestart(float seconds)
|
||||
Restart the current region in the specified number of seconds from now.
|
||||
(OpenSim only.)
|
||||
</string>
|
||||
<string name="LSLTipText_osRegionNotice">
|
||||
osRegionNotice(string msg)
|
||||
Broadcasts a notification message to all agents on the current region.
|
||||
(OpenSim only.)
|
||||
</string>
|
||||
<string name="LSLTipText_osConsoleCommand">
|
||||
osConsoleCommand(string command)
|
||||
Issues commands directly to the OpenSim server console.
|
||||
(OpenSim only.)
|
||||
</string>
|
||||
<string name="LSLTipText_osSetParcelMediaURL">
|
||||
osSetParcelMediaURL(string url)
|
||||
Sets parcel media URL.
|
||||
(OpenSim only.)
|
||||
</string>
|
||||
<string name="LSLTipText_osSetParcelSIPAddress">
|
||||
osSetParcelSIPAddress(string SIPAddress)
|
||||
Sets parcel SIP Address for Voice.
|
||||
(OpenSim only.)
|
||||
</string>
|
||||
<string name="LSLTipText_osSetPrimFloatOnWater">
|
||||
osSetPrimFloatOnWater(integer floatYN)
|
||||
Make physical prims float at the water level, TRUE or FALSE.
|
||||
(OpenSim only.)
|
||||
</string>
|
||||
<string name="LSLTipText_osTeleportAgent">
|
||||
osTeleportAgent(key agent, integer regionX, integer regionY, vector position, vector lookat)
|
||||
or
|
||||
osTeleportAgent(key agent, string regionName, vector position, vector lookat)
|
||||
or
|
||||
osTeleportAgent(key agent, vector position, vector lookat)
|
||||
Teleports the specified agent to a specified location in the region, the grid, or the hypergrid. See documentation for details.
|
||||
(OpenSim only.)
|
||||
</string>
|
||||
<string name="LSLTipText_osGetAgentIP">
|
||||
string osGetAgentIP(key agent)
|
||||
Returns the Avatars IP Address
|
||||
Allows in-world tools be used to coordinate out of world network services that need access to client IP addresses.
|
||||
Should *ONLY* be used by Region Server Owner.
|
||||
(OpenSim only.)
|
||||
</string>
|
||||
<string name="LSLTipText_osGetAgents">
|
||||
list osGetAgents()
|
||||
Returns a list of all avatars in the region in which the script is running.
|
||||
(OpenSim only.)
|
||||
</string>
|
||||
<string name="LSLTipText_osAvatarPlayAnimation">
|
||||
osAvatarPlayAnimation(key UUID, string animation)
|
||||
Triggers animations contained within the same prim as the script. Does not need the target avatar's permission.
|
||||
(OpenSim only.)
|
||||
</string>
|
||||
<string name="LSLTipText_osAvatarStopAnimation">
|
||||
osAvatarStopAnimation(key UUID, string animation)
|
||||
Stops specified animation on the specified avatar.
|
||||
(OpenSim only.)
|
||||
</string>
|
||||
<string name="LSLTipText_osMovePen">
|
||||
osMovePen(string drawList, integer x, integer y)
|
||||
Moves the pen's location to the coordinates specified by the x and y parameters, without drawing anything.
|
||||
(OpenSim only.)
|
||||
</string>
|
||||
<string name="LSLTipText_osDrawLine">
|
||||
osDrawLine(string drawList, integer startX, integer startY, integer endX, integer endY)
|
||||
osDrawLine(string drawList, integer endX, integer endY)
|
||||
Draws a line on a dynamic texture.
|
||||
(OpenSim only.)
|
||||
</string>
|
||||
<string name="LSLTipText_osDrawText">
|
||||
osDrawText(string drawList, string text)
|
||||
Renders text on a dynamic texture.
|
||||
(OpenSim only.)
|
||||
</string>
|
||||
<string name="LSLTipText_osDrawEllipse">
|
||||
osDrawEllipse(string drawList, integer width, integer height)
|
||||
Draws an ellipse on a dynamic texture.
|
||||
(OpenSim only.)
|
||||
</string>
|
||||
<string name="LSLTipText_osDrawRectangle">
|
||||
osDrawRectangle(string drawList, integer width, integer height)
|
||||
Draws a rectangle on a dynamic texture.
|
||||
(OpenSim only.)
|
||||
</string>
|
||||
<string name="LSLTipText_osDrawFilledRectangle">
|
||||
osDrawFilledRectangle(string drawList, integer width, integer height)
|
||||
Draws a rectangle on a dynamic texture, and fills it with the current pen color.
|
||||
(OpenSim only.)
|
||||
</string>
|
||||
<string name="LSLTipText_osDrawPolygon">
|
||||
string osDrawPolygon (string drawList, list x, list y)
|
||||
Draws a polygon on a dynamic texture.
|
||||
(OpenSim only.)
|
||||
</string>
|
||||
<string name="LSLTipText_osDrawFilledPolygon">
|
||||
string osDrawFilledPolygon (string drawList, list x, list y)
|
||||
Draws a polygon on a dynamic texture, and fills it with the current pen color.
|
||||
(OpenSim only.)
|
||||
</string>
|
||||
<string name="LSLTipText_osSetFontSize">
|
||||
osSetFontSize(string drawList, integer fontSize)
|
||||
Sets the font size to be used in osDrawText.
|
||||
(OpenSim only.)
|
||||
</string>
|
||||
<string name="LSLTipText_osSetFontName">
|
||||
osSetFontName(string drawList, string fontName)
|
||||
Sets current font to be used by osDrawText.
|
||||
(OpenSim only.)
|
||||
</string>
|
||||
<string name="LSLTipText_osSetPenSize">
|
||||
osSetPenSize(string drawList, integer penSize)
|
||||
Sets the pen size (line thickness) that is to be used when drawing dynamic textures.
|
||||
(OpenSim only.)
|
||||
</string>
|
||||
<string name="LSLTipText_osSetPenCap">
|
||||
osSetPenCap(string drawList, string direction, string type)
|
||||
Apply a shape on the end of a line. This allows using arrow, diamond, round and flat caps.
|
||||
(OpenSim only.)
|
||||
</string>
|
||||
<string name="LSLTipText_osSetPenColour">
|
||||
*DEPRECATED* Use osSetPenColor instead
|
||||
(OpenSim only.)
|
||||
</string>
|
||||
<string name="LSLTipText_osDrawImage">
|
||||
osDrawImage(string drawList, integer width, integer height, string imageUrl)
|
||||
Retrieves an image specified by the imageUrl parameter and draws it at the specified height and width.
|
||||
(OpenSim only.)
|
||||
</string>
|
||||
<string name="LSLTipText_osGetDrawStringSize">
|
||||
vector osGetDrawStringSize(string contentType, string text, string fontName, integer fontSize)
|
||||
Returns a vector containing the horizontal and vertical dimensions in pixels of the specified text
|
||||
(OpenSim only.)
|
||||
</string>
|
||||
<string name="LSLTipText_osSetStateEvents">
|
||||
osSetStateEvents(integer events)
|
||||
Used in the past as a workaround for a bug with Opensim, which has long since been fixed.
|
||||
(OpenSim only.)
|
||||
</string>
|
||||
<string name="LSLTipText_osGetScriptEngineName">
|
||||
string osGetScriptEngineName()
|
||||
Returns the name of the script engine which is currently enabled on the server.
|
||||
(OpenSim only.)
|
||||
</string>
|
||||
<string name="LSLTipText_osGetSimulatorVersion">
|
||||
string osGetSimulatorVersion()
|
||||
Returns OpenSim server version information as a string.
|
||||
(OpenSim only.)
|
||||
</string>
|
||||
<string name="LSLTipText_osParseJSON">
|
||||
string osParseJSON(string JSON)
|
||||
Returns a hashtable containing the structured JSON contents.
|
||||
(OpenSim only.)
|
||||
</string>
|
||||
<string name="LSLTipText_osMessageObject">
|
||||
osMessageObject(key UUID, string message)
|
||||
Sends a string to the object identified by UUID.
|
||||
The receiving object requires a dataserver(key queryid, string data) in a contained script(s).
|
||||
The queryid passed will be the id of the calling object.
|
||||
(OpenSim only.)
|
||||
</string>
|
||||
<string name="LSLTipText_osMakeNotecard">
|
||||
osMakeNotecard(string notecardName, list contents)
|
||||
Write a Notecard contained in Prim with contents of list.
|
||||
(OpenSim only.)
|
||||
</string>
|
||||
<string name="LSLTipText_osGetNotecardLine">
|
||||
string osGetNotecardLine(string name, integer line)
|
||||
Reads the requested notecard line and return its data as a string.
|
||||
(OpenSim only.)
|
||||
</string>
|
||||
<string name="LSLTipText_osGetNotecard">
|
||||
string osGetNotecard(string name)
|
||||
Reads the entire notecard and return its data as a string.
|
||||
(OpenSim only.)
|
||||
</string>
|
||||
<string name="LSLTipText_osGetNumberOfNotecardLines">
|
||||
integer osGetNumberOfNotecardLines(string name)
|
||||
Returns total number of lines in a notecard.
|
||||
(OpenSim only.)
|
||||
</string>
|
||||
<string name="LSLTipText_osAvatarName2Key">
|
||||
key osAvatarName2Key(string firstname, string lastname)
|
||||
Returns the avatar's UUID from their firstname, lastname.
|
||||
(OpenSim only.)
|
||||
</string>
|
||||
<string name="LSLTipText_osKey2Name">
|
||||
string osKey2Name(key UUID)
|
||||
Returns avatar name from their UUID key.
|
||||
(OpenSim only.)
|
||||
</string>
|
||||
<string name="LSLTipText_osGetGridNick">
|
||||
string osGetGridNick()
|
||||
Returns the grid's nickname.
|
||||
(OpenSim only.)
|
||||
</string>
|
||||
<string name="LSLTipText_osGetGridName">
|
||||
string osGetGridName()
|
||||
Returns the grid's name.
|
||||
(OpenSim only.)
|
||||
</string>
|
||||
<string name="LSLTipText_osGetGridLoginURI">
|
||||
string osGetGridLoginURI()
|
||||
Returns the grid's LoginURI.
|
||||
(OpenSim only.)
|
||||
</string>
|
||||
<string name="LSLTipText_osFormatString">
|
||||
string osFormatString(string str, list strings)
|
||||
Return the string with parameters substituted into it (format comes from .NET String.Format class)
|
||||
Parameters are specified positionally.
|
||||
(OpenSim only.)
|
||||
</string>
|
||||
<string name="LSLTipText_osMatchString">
|
||||
list osMatchString(string src, string pattern, integer start)
|
||||
Return a list of matches for the pattern and its components inside the source string.
|
||||
The pattern is a regular expression. Each match in the result is the string that matched and its position in the source.
|
||||
(OpenSim only.)
|
||||
</string>
|
||||
<string name="LSLTipText_osLoadedCreationDate">
|
||||
string osLoadedCreationDate()
|
||||
Returns Creation Date from meta data of OAR.
|
||||
(OpenSim only.)
|
||||
</string>
|
||||
<string name="LSLTipText_osLoadedCreationTime">
|
||||
string osLoadedCreationTime()
|
||||
Returns Creation Time from meta data of OAR.
|
||||
(OpenSim only.)
|
||||
</string>
|
||||
<string name="LSLTipText_osLoadedCreationID">
|
||||
string osLoadedCreationID()
|
||||
Returns creation ID from meta data of OAR. Can not be used to identify a machine.
|
||||
(OpenSim only.)
|
||||
</string>
|
||||
<string name="LSLTipText_osGetLinkPrimitiveParams">
|
||||
list osGetLinkPrimitiveParams(integer linknumber, list rules)
|
||||
Returns the primitive parameters for the linkset prims specified by linknumber. If using linkset constants (e.g. LINK_SET, LINK_ALL_CHILDREN, etc), the requested parameters of each relevant prim are concatenated to the end of the list. Otherwise, usage is identical to llGetPrimitiveParams().
|
||||
(OpenSim only.)
|
||||
</string>
|
||||
<string name="LSLTipText_osNpcCreate">
|
||||
key osNpcCreate(string firstname, string lastname, vector position, key UUID)
|
||||
Creates an NPC (Non Player Character) clone named firstname lastname at position from an already existing avatar specified by UUID.
|
||||
(OpenSim only.)
|
||||
</string>
|
||||
<string name="LSLTipText_osNpcMoveTo">
|
||||
osNpcMoveTo(key npc, vector position)
|
||||
Moves an NPC to a location within the region.
|
||||
(OpenSim only.)
|
||||
</string>
|
||||
<string name="LSLTipText_osNpcSay">
|
||||
osNpcSay(key npc, string message)
|
||||
Makes an NPC say something.
|
||||
(OpenSim only.)
|
||||
</string>
|
||||
<string name="LSLTipText_osNpcRemove">
|
||||
osNpcRemove(key npc)
|
||||
Removes an NPC.
|
||||
(OpenSim only.)
|
||||
</string>
|
||||
<string name="LSLTipText_osGetMapTexture">
|
||||
key osGetMapTexture()
|
||||
Returns the map texture UUID.
|
||||
(OpenSim only.)
|
||||
</string>
|
||||
<string name="LSLTipText_osGetRegionMapTexture">
|
||||
key osGetRegionMapTexture(string regionName)
|
||||
Returns the map texture UUID for the regionName requested.
|
||||
(OpenSim only.)
|
||||
</string>
|
||||
<string name="LSLTipText_osGetRegionStats">
|
||||
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).
|
||||
(OpenSim only.)
|
||||
</string>
|
||||
<string name="LSLTipText_osGetSimulatorMemory">
|
||||
integer osGetSimulatorMemory()
|
||||
Returns the current amount of RAM used by the current OpenSim instance.
|
||||
(OpenSim only.)
|
||||
</string>
|
||||
<string name="LSLTipText_osKickAvatar">
|
||||
osKickAvatar(string FirstName, string LastName, string alert)
|
||||
Kicks avatar from region with an alert message.
|
||||
(OpenSim only.)
|
||||
</string>
|
||||
<string name="LSLTipText_osSetSpeed">
|
||||
osSetSpeed(key UUID, float SpeedModifier)
|
||||
Multiplies the normal running, walking, and flying speed of the specified avatar.
|
||||
(OpenSim only.)
|
||||
</string>
|
||||
<string name="LSLTipText_osCauseDamage">
|
||||
osCauseDamage(key UUID, float damage)
|
||||
Causes damage to specified avatar.
|
||||
(OpenSim only.)
|
||||
</string>
|
||||
<string name="LSLTipText_osCauseHealing">
|
||||
osCauseHealing(key UUID, float healing)
|
||||
Causes healing to specified avatar.
|
||||
(OpenSim only.)
|
||||
</string>
|
||||
<string name="LSLTipText_osGetPrimitiveParams">
|
||||
list osGetPrimitiveParams(key prim, list rules)
|
||||
Gets the parameters of the primitive, specified by key.
|
||||
(OpenSim only.)
|
||||
</string>
|
||||
<string name="LSLTipText_osSetPrimitiveParams">
|
||||
osSetPrimitiveParams(key prim, list rules)
|
||||
Sets primitive Params.
|
||||
(OpenSim only.)
|
||||
</string>
|
||||
<string name="LSLTipText_osSetProjectionParams">
|
||||
osSetProjectionParams(key prim. integer projection, key texture, float fov, float focus, float amb)
|
||||
Set projection paramaters for light sources.
|
||||
(OpenSim only.)
|
||||
</string>
|
||||
<string name="LSLTipText_osUnixTimeToTimestamp">
|
||||
string osUnixTimeToTimestamp(integer unixtime)
|
||||
Converts unixtime to an llGetTimeStamp() formated string.
|
||||
(OpenSim only.)
|
||||
</string>
|
||||
<string name="LSLTipText_osSetPenColor">
|
||||
osSetPenColor(string drawList, string color)
|
||||
Sets the pen color that is to be used when drawing dynamic textures.
|
||||
(OpenSim only.)
|
||||
</string>
|
||||
<string name="LSLTipText_osGetSunParam">
|
||||
float osGetSunParam(string param)
|
||||
Returns current float values for param, where param = day_length, year_length, day_night_offset, update_interval.
|
||||
(OpenSim only.)
|
||||
</string>
|
||||
<string name="LSLTipText_osSetSunParam">
|
||||
osSetSunParam(string param, float value)
|
||||
Sets region's sun parameters, where param = day_length, year_length, day_night_offset, update_interval.
|
||||
(OpenSim only.)
|
||||
</string>
|
||||
<string name="LSLTipText_osSetParcelDetails">
|
||||
osSetParcelDetails(vector pos, list rules)
|
||||
Set parcel details.
|
||||
(OpenSim only.)
|
||||
</string>
|
||||
<string name="LSLTipText_osGetTerrainHeight">
|
||||
float osGetTerrainHeight(integer x, integer y)
|
||||
Returns current terrain height at the given coordinates.
|
||||
(OpenSim only.)
|
||||
</string>
|
||||
<string name="LSLTipText_osSetTerrainHeight">
|
||||
osSetTerrainHeight(integer x, integer y, float val)
|
||||
Sets terrain height at the given coordinates. Use osTerrainFlush() afterwards.
|
||||
(OpenSim only.)
|
||||
</string>
|
||||
<string name="LSLTipText_osGetAvatarList">
|
||||
list osGetAvatarList()
|
||||
Returns a strided list of the UUID, position, and name of each avatar in the region, except the owner.
|
||||
(OpenSim only.)
|
||||
</string>
|
||||
<string name="LSLTipText_osTeleportOwner">
|
||||
osTeleportOwner(integer regionX, integer regionY, vector position, vector lookat)
|
||||
or
|
||||
osTeleportOwner(string regionName, vector position, vector lookat)
|
||||
or
|
||||
osTeleportOwner(vector position, vector lookat)
|
||||
Teleports the owner of the object that holds the script to a specified location in the region, the grid, or the hypergrid. See documentation for details.
|
||||
(OpenSim only.)
|
||||
</string>
|
||||
|
||||
<!-- LightShare functions -->
|
||||
<string name="LSLTipText_cmSetWindlightScene">
|
||||
integer cmSetWindlightScene(list rules)
|
||||
Set the current WindLight scene. Estate managers and owners only.
|
||||
(Reguires LightShare)
|
||||
</string>
|
||||
<string name="LSLTipText_cmSetWindlightSceneTargeted">
|
||||
integer cmSetWindlightSceneTargeted(list rules, key target)
|
||||
Set the current WindLight scene directed at a specific avatar. Estate managers and owners only.
|
||||
(Reguires LightShare)
|
||||
</string>
|
||||
<string name="LSLTipText_cmGetWindlightScene">
|
||||
list cmGetWindlightScene(list rules)
|
||||
Get the current WindLight settings.
|
||||
(Reguires LightShare)
|
||||
</string>
|
||||
<!-- LightShare functions - alternate versions -->
|
||||
<!-- don't ask me why they renamed 'em, but we need to include both versions - - MC -->
|
||||
<string name="LSLTipText_lsSetWindlightScene">
|
||||
integer lsSetWindlightScene(list rules)
|
||||
Set the current WindLight scene. Estate managers and owners only.
|
||||
(Reguires LightShare)
|
||||
</string>
|
||||
<string name="LSLTipText_lsSetWindlightSceneTargeted">
|
||||
integer lsSetWindlightSceneTargeted(list rules, key target)
|
||||
Set the current WindLight scene directed at a specific avatar. Estate managers and owners only.
|
||||
(Reguires LightShare)
|
||||
</string>
|
||||
<string name="LSLTipText_lsGetWindlightScene">
|
||||
list lsGetWindlightScene(list rules)
|
||||
Get the current WindLight settings.
|
||||
(Reguires LightShare)
|
||||
</string>
|
||||
</strings>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user