OsAvatarPlayAnimation

From OpenSimulator

Revision as of 11:28, 8 June 2011 by Fritigern (Talk | contribs)

Jump to: navigation, search
OsAvatarPlayAnimation
Threat Level High
Function Syntax fckLRosAvatarPlayAnimation(key avatar, string animation) fckLR
Example(s)</td>fckLR//Example Usage: default { fckLRfckLR touch_start(integer num) {fckLR string anim = llGetInventoryName(INVENTORY_ANIMATION, 0);fckLR osAvatarPlayAnimation(llDetectedKey(0), anim);fckLR }fckLRfckLR} fckLR

This function causes an animation to be played on the specified avatar.

The variable animation can be either the name of an animation within the task inventory, or it can be the UUID of an animation.

osAvatarPlayAnimation does not perform any security checks or request animation permissions from the targeted avatar,

<a _fcknotitle="true" href="Category:OSSL_Functions">OSSL_Functions</a> <a _fcknotitle="true" href="Category:OSSL">OSSL</a>
General
About This Wiki