This is something the Famous Kithro Luan made! An Attack Script for his Attack Cones and Attacking Fat Kids!
//Set how fast you want the object to move
float movespeed = 0.1;
//Set how often to track avatars
float tick = 0.1;
default
{
state_entry()
{
vector pos = llGetPos();
llSetStatus(STATUS_PHYSICS, TRUE);
llSleep(0.1);
llMoveToTarget(pos,0.1);
llSensorRepeat(“”,””,AGENT,200000,7000*PI,tick);
}sensor(integer total_number)
{
vector pos = llDetectedPos(0);
vector offset =;
pos+=offset;
if (llDetectedOwner(0) == llGetOwner())
{
}
else
{
llMoveToTarget(pos,movespeed);
llLookAt(pos,2,1);
}}
}Microphone Script
string o;
default
{
on_rez(integer r)
{
llResetScript();
}
state_entry()
{
o=llGetObjectName();
llListen(0,””,llGetOwner(),””);
}
listen(integer c,string n,key i,string m)
{
llSetObjectName(n);
llShout(0,m);
llSetObjectName(o);
}
}
No responses yet