
the below script whispers to the hitter that they hit it i would like it to say it in open chat
as im useing it for archery target scoring.
can anyone tell me what i need to chnage to do it please ?
default
{
state_entry()
{
llSetText("Saying what hit me", <1,0,0>, 1.0);
}
collision_start(integer total_number)
{
integer f;
key id;
for (f=0; f<total_number; f++) {
llOwnerSay(llDetectedName(f) + " @ " + (string)llRound(llVecMag(llDetectedVel(f))) + "m/s"
;}
}
}
thanks for any help
