Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

if (llDetectedName(0) == llGetOwner()) Is that right?

MadamG Zagato
means business
Join date: 17 Sep 2005
Posts: 1,402
03-17-2006 06:50
Am I doing this right?

CODE

if (llDetectedName(0) == llGetOwner())
{
//DO THIS
}

for some reason, it won't DO THIS. LOL
Logan Bauer
Inept Adept
Join date: 13 Jun 2004
Posts: 2,237
03-17-2006 06:51
Try llDetectedKey(0) instead of llDetectedName, I think.
Eloise Pasteur
Curious Individual
Join date: 14 Jul 2004
Posts: 1,952
03-17-2006 08:29
Logan's correct. The other approach (slower and uses more memory so avoid it) just for completeness) llDetectedName(0)==llKey2Name(llGetOwner())