Added absent lsl functions to the lsl function dictionary
This commit is contained in:
@@ -457,6 +457,15 @@ void LLScriptLibrary::init()
|
||||
addFunction(10.f, 0.f, dummy_func, "llGetLinkPrimitiveParams", NULL, "il");
|
||||
addFunction(10.f, 0.f, dummy_func, "llLinkParticleSystem", NULL, "il");
|
||||
addFunction(10.f, 0.f, dummy_func, "llSetLinkTextureAnim", NULL, "iiiiifff");
|
||||
|
||||
addFunction(10.f, 0.f, dummy_func, "llGetLinkNumberOfSides", "i", "i");
|
||||
|
||||
// IDEVO Name lookup calls, see lscript_avatar_names.h
|
||||
addFunction(10.f, 0.f, dummy_func, "llGetUsername", "s", "k");
|
||||
addFunction(10.f, 0.f, dummy_func, "llRequestUsername", "k", "k");
|
||||
addFunction(10.f, 0.f, dummy_func, "llGetDisplayName", "s", "k");
|
||||
addFunction(10.f, 0.f, dummy_func, "llRequestDisplayName", "k", "k");
|
||||
|
||||
// energy, sleep, dummy_func, name, return type, parameters, gods-only
|
||||
|
||||
// IF YOU ADD NEW SCRIPT CALLS, YOU MUST PUT THEM AT THE END OF THIS LIST.
|
||||
|
||||
@@ -1669,5 +1669,26 @@ Returns the value for header for request_id
|
||||
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.
|
||||
</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>
|
||||
<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.
|
||||
</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>
|
||||
<string name="LSLTipText_llRequestDisplayName">
|
||||
key llRequestDisplayName(key id)
|
||||
Requests name of an avatar. When data is available the dataserver event will be raised.
|
||||
</string>
|
||||
|
||||
</strings>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user