Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Sitting / Chair Script help

Samuel Applewhyte
Registered User
Join date: 6 May 2009
Posts: 2
05-06-2009 19:41
Does anyone know a simple script that does both:
A) Makes the little chair icon on your mouse when you scroll over the chair.
B) Makes you sit on the center of the seat of the chair when you click the chair while the icon is showing.

This seems like it should be a relatively simple script, and I've seen chairs like this, but for some reason I couldn't find a script for it anywhere. Please link me one or copy/paste one here, thanks!

Samuel

--btw, this is an object script obviously, haha
Viktoria Dovgal
Join date: 29 Jul 2007
Posts: 3,593
05-06-2009 19:53
Any old poseball sort of script will do the job.

To make the sit-on-click thing work, you can do that in the editor. It's under the General tab, at the bottom ("When Left-Clicked:";).


If you need the script to handle this:

http://wiki.secondlife.com/wiki/LlSetClickAction

That's a fairly new function, that would be why you don't see many samples using it.
Samuel Applewhyte
Registered User
Join date: 6 May 2009
Posts: 2
05-06-2009 20:00
Thanks a ton!
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
05-06-2009 22:43
heh nice, I didn't even know that one was added....
_____________________
|
| . "Cat-Like Typing Detected"
| . This post may contain errors in logic, spelling, and
| . grammar known to the SL populace to cause confusion
|
| - Please Use PHP tags when posting scripts/code, Thanks.
| - Can't See PHP or URL Tags Correctly? Check Out This Link...
| -