Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Detecting If User Is in Mouselook?

Rebecca Naidoo
Registered User
Join date: 28 May 2008
Posts: 82
09-08-2008 14:59
Hi.

How can I detect if a user is in mouselook?
Ordinal Malaprop
really very ordinary
Join date: 9 Sep 2005
Posts: 4,607
09-08-2008 15:01
CODE

if (llGetAgentInfo(keyOfPersonYouWantToCheck) & AGENT_MOUSELOOK) {
...do things...
}
_____________________
http://ordinalmalaprop.com/forum/ - visit Ordinal's Scripting Colloquium for scripting discussion with actual working BBCode!

http://ordinalmalaprop.com/engine/ - An Engine Fit For My Proceeding, my Aethernet Journal

http://www.flickr.com/groups/slgriefbuild/ - Second Life Griefbuild Digest, pictures of horrible ad griefing and land spam, and the naming of names
Keith Wobbit
Registered User
Join date: 8 Jan 2008
Posts: 3
09-12-2008 06:02
From: Ordinal Malaprop
CODE

if (llGetAgentInfo(keyOfPersonYouWantToCheck) & AGENT_MOUSELOOK) {
...do things...
}



do i put this in a prim???
Imnotgoing Sideways
Can't outlaw cute! =^-^=
Join date: 17 Nov 2007
Posts: 4,694
09-12-2008 06:41
From: Keith Wobbit
do i put this in a prim???
Actually, you'll have to put it in a more complete script and then put it in to some sort of prim or prim build. I suggest to do what you can to search for general scripting tutorials and look for past threads and inworld helpers to make sense of the whole deal. (^_^)y
_____________________
Somewhere in this world; there is someone having some good clean fun doing the one thing you hate the most. (^_^)y


http://slurl.com/secondlife/Ferguson/54/237/94
Keith Wobbit
Registered User
Join date: 8 Jan 2008
Posts: 3
09-12-2008 06:48
From: Imnotgoing Sideways
Actually, you'll have to put it in a more complete script and then put it in to some sort of prim or prim build. I suggest to do what you can to search for general scripting tutorials and look for past threads and inworld helpers to make sense of the whole deal. (^_^)y


ok ty for that i am new too scripting & still trying to make sence of it all lol