Jump to content

weird slppf bug?


Xiija
 Share

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

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

Recommended Posts

I'm sending this  ....  llRegionSay(-10, "18|-1|<1.0, 0.0, 0.0>|1.0" );

and using this in the other prim, but it keeps changing the color to black, not red?

default
{
    state_entry()
    { llListen(-10, "","", "");       
    }
    touch_end( integer num)                       // this is the same as the incomming data 
    {  llSetLinkPrimitiveParamsFast(LINK_THIS, [
           PRIM_COLOR, ALL_SIDES, <1.0, 0.0, 0.0>, 1.0
       ]);
    }
    listen(integer channel, string name, key id, string message)
    {  list options = llParseString2List(message,["|"],[""]);
       string tmp   = llDumpList2String( options, "\n");
       llOwnerSay("Incomming List:\n" + tmp);
       
       integer flag    = llList2Integer(  options, 0); 
       integer face    = llList2Integer(  options, 1);
       vector colorVec = llList2Vector(   options, 2);  
       float alpha     = llList2Float(    options, 3);  
       
        integer type =  llGetListEntryType( [colorVec], 0);
        llOwnerSay( "Type: " + (string)type);// type 5 = vector
          
       llSetLinkPrimitiveParamsFast(LINK_THIS, [
           flag, face, colorVec, alpha
       ]); 
    }
}

 

Edited by Xiija
Link to comment
Share on other sites

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