OsAvatarStopAnimation
From OpenSimulator
(Difference between revisions)
Line 1: | Line 1: | ||
− | ''' | + | {| width="100%" style="border: thin solid black" |
+ | | colspan="2" align="center" style=background:orange | '''{{SUBPAGENAME}}''' | ||
+ | |- valign="top" | ||
+ | |'''Threat Level''' || High | ||
+ | |- valign="top" | ||
+ | |'''Function Syntax''' || <source lang="lsl"> | ||
+ | osAvatarStopAnimation(key avatar, string animation) | ||
+ | </source> | ||
+ | |- valign="top" | ||
+ | |'''Example(s)||<Example(s) go(es) here> | ||
+ | |} | ||
− | |||
− | + | This function stops the specified animation if it is playing on the avatar given. | |
+ | The value avatar is a UUID, and the animation value is either the name of an animation in the task inventory or the UUID of an animation. | ||
+ | |||
+ | If the specified avatar is not logged in or on the same sim as the script, then osAvatarStopAnimation silently fails. | ||
+ | |||
+ | [[Category:OSSL Functions]] | ||
[[Category:OSSL]] | [[Category:OSSL]] | ||
[[Category:OSSL functions without example]] | [[Category:OSSL functions without example]] |
Revision as of 14:29, 8 June 2011
OsAvatarStopAnimation | |
Threat Level | High |
Function Syntax | osAvatarStopAnimation(key avatar, string animation) |
Example(s) | <Example(s) go(es) here> |
This function stops the specified animation if it is playing on the avatar given.
The value avatar is a UUID, and the animation value is either the name of an animation in the task inventory or the UUID of an animation.
If the specified avatar is not logged in or on the same sim as the script, then osAvatarStopAnimation silently fails.