OsAvatarStopAnimation
From OpenSimulator
(Difference between revisions)
m |
m |
||
Line 2: | Line 2: | ||
| colspan="2" align="center" style=background:orange | '''{{SUBPAGENAME}}''' | | colspan="2" align="center" style=background:orange | '''{{SUBPAGENAME}}''' | ||
|- valign="top" | |- valign="top" | ||
− | |'''Threat Level''' || | + | |'''Threat Level''' || VeryHigh |
|- valign="top" | |- valign="top" | ||
|'''Function Syntax''' || <source lang="lsl"> | |'''Function Syntax''' || <source lang="lsl"> |
Revision as of 12:41, 11 June 2011
OsAvatarStopAnimation | |
Threat Level | VeryHigh |
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.