Jump to content

Couple hud script- no poseballs


Trebbort Subagja
 Share

You are about to reply to a thread that has been inactive for 3632 days.

Please take a moment to consider if this thread is worth bumping.

Recommended Posts

I'm looking for a script that plays couple animations without rezzing poseballs.

Now i know that the alignment will not be anywhere near as good as with poseballs.  This is not a problem for me

I've started fiddling around and found a basic play animation and trigger sound script which i've put in a box and attached as hud:matte-motes-asleep-2:

 

string gAnimName1 = "express_laugh_emote";
string gAnimName = "express_laugh"; // what animation to play?


default
{
state_entry()
{
llSay(0, "LOL");
}
touch_start(integer total_number)
{
llRequestPermissions(llGetOwner(), PERMISSION_TRIGGER_ANIMATION); // ask the owner for permission to trigger animations
llStartAnimation(gAnimName1);
llStartAnimation(gAnimName); // automatically trigger animation.
llTriggerSound( llGetInventoryName(INVENTORY_SOUND,0),1);

}
on_rez(integer param)
{
llResetScript(); // reset the script as soon as it starts.
}
attach(key id)
{
integer perm = llGetPermissions();

if (id != NULL_KEY) // make sure we're actually attached.
{
if (! (perm & PERMISSION_TRIGGER_ANIMATION)) // remember to use bitwise operators!
{
llRequestPermissions(llGetOwner(), PERMISSION_TRIGGER_ANIMATION); // request permissions from the owner.
}
}
else
{
if (perm & PERMISSION_TRIGGER_ANIMATION)
{
}
}
}
}

Anyone can help out, perhaps know of someone to contact / hire? any help will be appreciated and will receive a version of my finished hud ;) It will be a helpful hud against unwanted harrassing ;).

Link to comment
Share on other sites

You are about to reply to a thread that has been inactive for 3632 days.

Please take a moment to consider if this thread is worth bumping.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...