Wednesday 11 February 2009

Second Life --- Basic Animation----

// Basic Animation / Attachment 1.0
// Catherine Omega Heavy Industries

string gAnimName = "express_afraid"; // what animation to play?

default
{
state_entry()
{
llRequestPermissions(llGetOwner(), PERMISSION_TRIGGER_ANIMATION); // ask the owner for permission to trigger animations
//if( llGetPermissions() & PERMISSION_TRIGGER_ANIMATION ) { llStartAnimation(gAnimName ); }
//llStartAnimation(gAnimName); // automatically trigger animation.
}

touch_start(integer total_number) {


llStartAnimation( gAnimName );
llSay(0, "Animation: " + gAnimName);
}

}

No comments:

Post a Comment

Azure OpenAI Architecture Patterns & Deployment Patterns

Sharing some useful links that will help customers architect Azure OpenAI solution using the best practices: (1) Azure OpenAI Landing Zone r...