changed(integer change)
{
if (change & CHANGED_LINK)
{
if (llAvatarOnLinkSitTarget(2) != NULL_KEY)
{
llSay(0, "Sitting on link 2: " + (string)(llAvatarOnLinkSitTarget(2)));
}
// Now pay attention to the avatar on the root prim.
key agent = llAvatarOnLinkSitTarget(1);
if (agent != NULL_KEY)
{
llSay(0, "Sitting on link 1: " + (string)(llAvatarOnLinkSitTarget(1)));
}
}
}
}
Expected behaviour
It should return avatar key id.
Actual behaviour
It returns "System.Collections.Generic.List`1[OpenMetaverse.UUID]".
Tell us what happens instead
Server configuration
Standalone.
Operating system:
Windows10 64bit
Web server:
Database:
Sqlite.
WhiteCore version:
Current master.
Steps to reproduce
Link two prims and put this script inside. Script itself:
default { state_entry() { llLinkSitTarget(1,<0.0,0.0,0.5>,ZERO_ROTATION); llLinkSitTarget(2, <0.0,0.0,0.1>,ZERO_ROTATION); }
}
Expected behaviour
It should return avatar key id.
Actual behaviour
It returns "System.Collections.Generic.List`1[OpenMetaverse.UUID]". Tell us what happens instead
Server configuration
Standalone. Operating system: Windows10 64bit Web server:
Database: Sqlite. WhiteCore version: Current master.
Logs
No errors reported in region console.