default
{
state_entry()
{
key id = llGetOwner(); //Get the key for the owner of this object.
llSensorRepeat("",id,AGENT,20,2*PI,.4); //Track the location of the owner and updates every 0.4 seconds.
}
sensor(integer total_number)
{
vector pos = llDetectedPos(0); //Get the location of object 0, (owner).
llSetText((string)pos, <1,0.5,0>, 2.0);
}
}