These forums are CLOSED. Please visit the new forums HERE
is there an onSit event handler or something? |
|
Lucius Diller
Registered User
Join date: 1 Apr 2005
Posts: 3
|
04-08-2005 22:10
basically i want to change the state when someone 'sits' on the object. but i'm not at all sure how to do that. i was modifying an existing code, and i was able to achieve the effect i needed to by using the changed() event handler, but it had a problem or two. anyway, i can post the code if you need it, but i don't think it's especially relevant to my question.
|
cua Curie
secondlifes.com/*****
![]() Join date: 14 Nov 2003
Posts: 196
|
04-08-2005 22:15
You can use CHANGED_LINK to determine sit, in combination with llAvatarOnSitTarget()!=NULL_KEY.
there is an example about half way down on this wiki page |
Lucius Diller
Registered User
Join date: 1 Apr 2005
Posts: 3
|
04-08-2005 23:06
Oh, cool, thanks. that did the trick.
one other quesiton, though. what does llResetScript() do exactly? |
Catherine Omega
Geometry Ninja
![]() Join date: 10 Jan 2003
Posts: 2,053
|
04-09-2005 00:29
what does llResetScript() do exactly? _____________________
|