These forums are CLOSED. Please visit the new forums HERE
| llSit or something like that | |
| Wazoo Digeridoo Engineering School Slave Join date: 8 Jan 2003 Posts: 13 | 02-09-2003 00:47 There may already be a feature like this, but none to my knowledge.  I created a whoopie cushion (my first scripted object, I'm so proud - thanks to anyone who helped) and realized I wanted a sit command or something.  That way it would sound when I sat on it instead of having to click it.  It could be used for other items as well. | 
| Ama Omega Lost Wanderer Join date: 11 Dec 2002 Posts: 1,770 | 02-09-2003 11:22 Still a scripting newb, but I think you should be able to detect a collision and trigger the script that way.  It wouldn't be perfect, just running into it would trigger it, but it should work ..... | 
| BuhBuhCuh Fairchild Professional BuhBuhCuh Join date: 9 Oct 2002 Posts: 503 | 02-09-2003 22:41 funny thing, if you sit on said object, it can't sense you.  kinda sucks. BBC _____________________ START! Make your own movie in Second Life for The Take 5 Machinima Festival Films due Dec 4, screening Dec 7! http://www.alt-zoom.com/take5.htm | 
| Philip Linden Founder, Linden Lab Join date: 18 Nov 2002 Posts: 428 | 02-19-2003 20:12 Actually you could llSensor() and check for avatar center just above you (say less that 0.5m).  This would probably work for whoopie cushion.  Agree not ideal solution. | 
| BuhBuhCuh Fairchild Professional BuhBuhCuh Join date: 9 Oct 2002 Posts: 503 | 02-19-2003 20:43 I tried to sense an av within 2 m of the block I was sitting on - didn't work - now that I think of it though - I could use a second sensor and... be back in a few BBC _____________________ START! Make your own movie in Second Life for The Take 5 Machinima Festival Films due Dec 4, screening Dec 7! http://www.alt-zoom.com/take5.htm | 
| Philip Linden Founder, Linden Lab Join date: 18 Nov 2002 Posts: 428 | 02-20-2003 06:04 Let me know if it doesn't work.  The AV center should be about at the torso. | 
| BuhBuhCuh Fairchild Professional BuhBuhCuh Join date: 9 Oct 2002 Posts: 503 | 02-23-2003 17:39 Finally got around to looking at it - I could not sense my Av when it was seated.  Here is the script: CODE 
 and it seems to detect my av fine, unless I am seated. BBC _____________________ START! Make your own movie in Second Life for The Take 5 Machinima Festival Films due Dec 4, screening Dec 7! http://www.alt-zoom.com/take5.htm | 
| Philip Linden Founder, Linden Lab Join date: 18 Nov 2002 Posts: 428 | 02-24-2003 08:47 Logged as bug - thanks!   Won't be fixed in this week's release, but will be fixed in next. |