More OSSL additions which were committed today

This commit is contained in:
Fritigern Gothly
2011-08-12 00:52:20 +02:00
parent f10aeaad31
commit 8aed7eb909
2 changed files with 21 additions and 0 deletions

View File

@@ -606,6 +606,12 @@ void LLScriptLibrary::init()
addFunction(10.f, 0.f, dummy_func, "osNpcStopMoveTo", NULL, "k");
addFunction(10.f, 0.f, dummy_func, "osOwnerSaveAppearance", "k", "s");
<!-- More new stuffs -->
addFunction(10.f, 0.f, dummy_func, "osNpcGetRot", "r", "k");
addFunction(10.f, 0.f, dummy_func, "osNpcSetRot", NULL, "kr");
addFunction(10.f, 0.f, dummy_func, "osAgentSaveAppearance", "k", "ks");
addFunction(10.f, 0.f, dummy_func, "llSetMemoryLimit", "i", "i");
addFunction(10.f, 0.f, dummy_func, "llSetLinkMedia", "i", "iil");
addFunction(10.f, 0.f, dummy_func, "llGetLinkMedia", "l", "iil");

View File

@@ -2310,6 +2310,21 @@ Makes an NPC stop moving to a target.
<string name="LSLTipText_osOwnerSaveAppearance">
key osOwnerSaveAppearance(string notecardName)
Saves the owner's appearance to a notecard inside the prim that holds the script.
(OpenSim only.)
</string>
<string name="LSLTipText_osNpcGetRot">
rotation osNpcGetRot(key npc)
Retrieves the rotation of an NPC
(OpenSim only.)
</string>
<string name="LSLTipText_osNpcSetRot">
osNpcSetRot(key npc, rotation rot)
Sets an NPC's rotation.
(OpenSim only.)
</string>
<string name="LSLTipText_osAgentSaveAppearance">
key osOwnerSaveAppearance(key avatarId, string notecardName)
Saves an avatar's appearance to a notecard inside the prim that holds the script.
(OpenSim only.)
</string>
</strings>