Added ll(Start/Stop)ObjectAnimation lsl function awareness

This commit is contained in:
Shyotl
2019-08-11 20:37:00 -05:00
parent 4f72de8289
commit 5c156a9d86
4 changed files with 16 additions and 0 deletions

View File

@@ -199,6 +199,8 @@ void LLScriptLibrary::init()
addFunction(10.f, 0.f, dummy_func, "llStringLength", "i", "s");
addFunction(10.f, 0.f, dummy_func, "llStartAnimation", NULL, "s");
addFunction(10.f, 0.f, dummy_func, "llStopAnimation", NULL, "s");
addFunction(10.f, 0.f, dummy_func, "llStartObjectAnimation", NULL, "s");
addFunction(10.f, 0.f, dummy_func, "llStopObjectAnimation", NULL, "s");
addFunction(10.f, 0.f, dummy_func, "llPointAt", NULL, "v");
addFunction(10.f, 0.f, dummy_func, "llStopPointAt", NULL, NULL);
addFunction(10.f, 0.f, dummy_func, "llTargetOmega", NULL, "vff");

View File

@@ -730,6 +730,8 @@ llRotLookAt
llStringLength
llStartAnimation
llStopAnimation
llStartObjectAnimation
llStopObjectAnimation
llPointAt
llStopPointAt
llTargetOmega

View File

@@ -305,6 +305,10 @@
<map/>
<key>llStopAnimation</key>
<map/>
<key>llStartObjectAnimation</key>
<map/>
<key>llStopObjectAnimation</key>
<map/>
<key>llPointAt</key>
<map/>
<key>llStopPointAt</key>

View File

@@ -957,6 +957,14 @@ Starts animation anim for agent that granted PERMISSION_TRIGGER_ANIMATION if the
llStopAnimation(string anim)
Stops animation anim for agent that granted permission
</string>
<string name="LSLTipText_llStartObjectAnimation">
llStartObjectAnimation(string anim)
Start animation for the current object
</string>
<string name="LSLTipText_llStopObjectAnimation">
llStopObjectAnimation(string anim)
Stop an animation for the current object
</string>
<string name="LSLTipText_llPointAt">
llPointAt(vector pos)
Makes agent that owns object point at pos