summaryrefslogtreecommitdiff
path: root/indra/lscript/lscript_library/lscript_library.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/lscript/lscript_library/lscript_library.cpp')
-rw-r--r--indra/lscript/lscript_library/lscript_library.cpp12
1 files changed, 11 insertions, 1 deletions
diff --git a/indra/lscript/lscript_library/lscript_library.cpp b/indra/lscript/lscript_library/lscript_library.cpp
index e082220353..47ea62b888 100644
--- a/indra/lscript/lscript_library/lscript_library.cpp
+++ b/indra/lscript/lscript_library/lscript_library.cpp
@@ -29,7 +29,15 @@
* $/LicenseInfo$
*/
-// *WARNING*
+
+// ## ## ### ######## ## ## #### ## ## ###### #### ####
+// ## ## ## ## ## ## ## ### ## ## ### ## ## ## #### ####
+// ## ## ## ## ## ## ## #### ## ## #### ## ## #### ####
+// ## ## ## ## ## ######## ## ## ## ## ## ## ## ## #### ## ##
+// ## ## ## ######### ## ## ## #### ## ## #### ## ##
+// ## ## ## ## ## ## ## ## ### ## ## ### ## ## #### ####
+// ### ### ## ## ## ## ## ## #### ## ## ###### #### ####
+//
// When adding functions, they <b>MUST</b> be appended to the end of
// the init() method. The init() associates the name with a number,
// which is then serialized into the bytecode. Inserting a new
@@ -431,6 +439,8 @@ void LLScriptLibrary::init()
addFunction(new LLScriptLibraryFunction(10.f, 0.f, dummy_func, "llGetObjectDetails", "l", "kl", "list llGetObjectDetails(key id, list params)\nGets the object details specified in params for the object with key id.\nDetails are OBJECT_NAME, _DESC, _POS, _ROT, _VELOCITY, _OWNER, _GROUP, _CREATOR."));
+ addFunction(new LLScriptLibraryFunction(10.f, 0.f, dummy_func, "llSetClickAction", NULL, "i", "llSetClickAction(integer action)\nSets the action performed when a prim is clicked upon."));
+
// 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.