Talk:LlAvatarOnLinkSitTarget

From Second Life Wiki
Jump to navigation Jump to search

Paramter for unlinked prim

The specification for an unlinked prim has changed at some point

llAvatarOnLinkSitTarget( LINK_THIS)
llAvatarOnLinkSitTarget( LINK_ROOT)
llAvatarOnLinkSitTarget( 1)

All return the correct key of the sitting agent

llAvatarOnLinkSitTarget( 0)

returns the NULL_KEY always. Dora Gustafson 15:10, 3 November 2013 (PST)
The described behavior can be explained by the fact that the prim number in the root prim changes from 0 to 1 the moment someone sits on it
When someone sits, the root prim is no longer alone but linked to the agent and becomes prim number one
This behavior should be pointed out in the article
Unfortunately I am almost certain I am not able to edit the article within it's framework. Dora Gustafson 03:51, 4 November 2013 (PST)