Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Un sitting?

Jade Bard
Registered User
Join date: 7 Jul 2004
Posts: 106
07-20-2004 16:09
Okay so i figure out how to tell when a person sits down, but when do you tell if a person stands up?
Rysidian Rubio
Ruby Red Head
Join date: 14 Jan 2004
Posts: 263
07-20-2004 19:38
CODE

changed(integer change)
{
if (change & CHANGED_LINK)
{
key avatar = llAvatarOnSitTarget();
if (avatar == NULL_KEY)
{
//someone has gotten off me
}
else
{
//someone has sat on me
}
}
}
Jade Bard
Registered User
Join date: 7 Jul 2004
Posts: 106
07-20-2004 21:00
Yeah, i justed figured it out like an hour afterwards. Thanks.