01-22-2004 14:49
Here is a quick script i wrote that highlights each face of a prim red and counts out loud what face it is.


//Highlight Face
//by Aki Kojima

integer i = 0;

default
{
state_entry()
{
llSetColor(<1,1,1>, ALL_SIDES);
}

touch_start(integer total_number)
{
for(i=0;i<6;i++)
{
llSetColor(<1,0,0>, i);
if (i != 0)
{
integer e = i - 1;
llSetColor(<1,1,1>, e);
}
llWhisper(0, "Side: "+(string)i);
llSleep(3);
}
}
}


Hopefully somebody can use this =)