LSL Wiki Mirror : llUnSit

HomePage :: PageIndex :: RecentChanges :: RecentlyCommented :: UserSettings ::
llUnSit(key id)

If the agent identified by id is sitting on the scripted object or is over land owned by the scripted object's owner, the agent is forced to stand up.

Notes:

Compare with llEjectFromLand and llTeleportAgentHome.

Q: When I make an avatar stand up from my chair, they end up standing on it. That looks stupid. Is there some way to get them to stand up and move to a specific position?
A: Not precisely. There are a couple things you can try. The most effective option is to apply a small force to the avatar with llPushObject. Alternatively, try having the chair turn phantom when they stand up, so as to make them drop to the floor. They still might appear to be standing "in" the chair however.

Q: How do I force an avatar to sit on an object?
A: You can't. You can only force them to stand up. It is possible to animate an avatar so they look like they're sitting, but not to control their position with much precision or reliability, at least not without using attachments.


Functions | Agent/Avatar | Sit
There is no comment on this page. [Display comments/form]