w0o
-
Posts
2 -
Joined
-
Last visited
Content Type
Forums
Blogs
Knowledge Base
Posts posted by w0o
-
-
Hello, i have the similiar problem but in another case:
llSensorRepeat("","",AGENT,1000,2*PI,0.6);
}
sensor (integer num)
{
string message = "" + (string)num + " avatar(s): " + llDetectedName(0);
llMessageLinked(LINK_SET, 2, "open", "");
integer index = 1;
integer i;
while (index < num )
message += ", " + llDetectedName(index++);I added this lines from this topic
{ if ( llDetectedKey(0) != llGetOwner() ) {
but in this case it seems not to work
- 1
Sensor all except owner (Detect Everyone Except Owner)
in LSL Scripting
Posted
Thanks for so many replys, it all helped and brings me new ideas, because i am noob in this
WIth the 1000m in LLsensors i was just trying out some bug discribed, which can, in some cases detect higher distances over 9
But my first problem was not solved
Here is an example of the 3 spots where i tried to exclude the owner but it still detects me, even if i leave all 3 or just one at each spot
in it.
sensor (integer num)
{
string message = "detected" + (string)num + " avatar(s): " + llDetectedName(0) != llGetOwner()); //here
llMessageLinked(LINK_SET, 2, "open", "");
// we already added the first avatar above, so continue from index 1
integer index = 1;
integer i;
while (index < num )
{
if(llDetectedKey(index) != llGetOwner()) //here
{
message += ", " + llDetectedName(index++) != llGetOwner(); //or here
llWhisper(PUBLIC_CHANNEL, message);
}
no_sensor()
maybe an issue with detect names vs keys?
all other cases where i played with noowner sensor cases worked for me with just one line