|
Canen Madsen
Registered User
Join date: 2 Oct 2006
Posts: 6
|
01-08-2007 14:19
If someone is sits down to a chair there is a change event. But if the game shuts down for repairs before they stand up does the change event happen when the sitter isnt there anymore? If not how can i tell the timer i set inside the change event to turn off and say there isnt anyone sitting there anymore?
|
|
Jacques Groshomme
Registered User
Join date: 16 Mar 2005
Posts: 355
|
01-08-2007 14:31
You could use a sensor to detect the avatar periodically.
|
|
Lazink Maeterlinck
Registered User
Join date: 8 Nov 2005
Posts: 332
|
01-08-2007 14:35
or use a timer. no the change event does not fire if the sim goes down. I had this problem in one of my scripts. If it's critical that someone is sitting on it, (like a money chair) then you'll need to run a timer anyways, so put in the code for a check to see if the avatar is still on the sit target 
|
|
Newgate Ludd
Out of Chesse Error
Join date: 8 Apr 2005
Posts: 2,103
|
01-08-2007 15:00
use a timer and periodically check the llAvatarOnSitTarget responce.
|