- 0
Bonjours besoin aide pour ce script
You are about to reply to a thread that has been inactive for 3921 days.
Please take a moment to consider if this thread is worth bumping.
Please take a moment to consider if this thread is worth bumping.
Question
Ricoress
Bonjours jais un script comme ce-ci qui fonction.
elle fonctione sulment sur un seul toucher. mais je veux le faire comme 2 ou 6 toucher . mon obj peux animer avec 1 toucher. 2 toucher pour un 2 etape .3.4.5.6 chaque toucher que serais posible merci
________________________________
default
{
state_entry()
{
llPreloadSound("");
}
on_rez(integer start_param)
{
llResetScript();
}
touch_start(integer total_number)
{
integer i;
for (i = 0;i < total_number;i += 1)
{
// Play a sound
llPlaySound("b9", 1.0);
llSay(5, "1");
string origName = llGetObjectName();
string owner;
owner = llKey2Name( llGetOwner() );
owner = llList2String( llParseString2List( owner, [" "], [] ), 0 );
string avName;
avName = llDetectedName(i);
avName = llList2String( llParseString2List( avName, [" "], [] ), 0 );
llSetObjectName( avName );
llSay(0, "/me open " + owner + "'light.");
llSleep(2);
llSay(5, "2");
llSetObjectName( origName );
}
}
}
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
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