Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Mouselock

slave Bode
Registered User
Join date: 4 Feb 2007
Posts: 5
05-17-2007 11:42
Hello This is my first mgs in the forum ,

I want to make a mouselock script that works like this If i sit on an object i wil be automatic in mouselock..

Can anyone help me whit an script like this, I have no clue how i wil do it .. Im an real newbie scripter :)

Thanks And sorry for my bad spelling :)
Talarus Luan
Ancient Archaean Dragon
Join date: 18 Mar 2006
Posts: 4,831
05-17-2007 11:51
I think you want to use the llForceMouselook(); function. Its use is detailed in the Wiki (also here).
slave Bode
Registered User
Join date: 4 Feb 2007
Posts: 5
05-17-2007 12:20
From: Talarus Luan
I think you want to use the llForceMouselook(); function. Its use is detailed in the Wiki (also here).


Thanks... I did it now .. and i have an real working simple script
Talarus Luan
Ancient Archaean Dragon
Join date: 18 Mar 2006
Posts: 4,831
05-17-2007 12:50
Ummmm..

Writing any example would essentially be writing the script for you. Yeah, it's that easy.

Here ya go:

CODE

default {
state_entry() {
llForceMouselook(TRUE);
}
}