Jump to content
  • 0

Bonjours besoin aide pour ce script


Ricoress
 Share

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

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

Question

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

  • 0

Bonjour, désolé, je ne comprends pas ce que vous essayez de faire. Vous obtenez une meilleure aide annonce dans le forum de script. vous obtenez une meilleure aide dans le forum de script

ADDED: Mon francais n'est pas trop chaud.

To all, please answer at the scripting forum. http://community.secondlife.com/t5/LSL-Scripting/Hi-need-help/td-p/2415919

  • Like 1
Link to comment
Share on other sites

You are about to reply to a thread that has been inactive for 3766 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...