These forums are CLOSED. Please visit the new forums HERE
How do I detect when a person has cammed a prim? |
|
Maximus Lumiere
Registered User
Join date: 27 May 2004
Posts: 4
|
10-30-2009 22:11
The title says it all. I know it's possible but I'm not sure how to do it. Can anyone provide a sample script or point me to the right function(s)?
|
Kaluura Boa
Polygon Project
![]() Join date: 27 Mar 2007
Posts: 194
|
10-31-2009 00:27
The first thing that is required to know where someone's camera is:
llRequestPermissions(avatar, PERMISSION_TRACK_CAMERA); And this can be used only in objects on which the AV sits or which are attached. If you want to track cameras without permissions, only a bot can do that... And it may fail since some third-party clients allow you not to transmit this information. |
Maximus Lumiere
Registered User
Join date: 27 May 2004
Posts: 4
|
11-01-2009 17:22
The first thing that is required to know where someone's camera is: llRequestPermissions(avatar, PERMISSION_TRACK_CAMERA); And this can be used only in objects on which the AV sits or which are attached. If you want to track cameras without permissions, only a bot can do that... And it may fail since some third-party clients allow you not to transmit this information. Hmm, but I've seen shields that announce when someone else focuses on the shield. It's got to be scripted in, somehow, right? Or is it a combo of viewer + lsl? |
Viktoria Dovgal
…
![]() Join date: 29 Jul 2007
Posts: 3,593
|
11-01-2009 17:50
Hmm, but I've seen shields that announce when someone else focuses on the shield. It's got to be scripted in, somehow, right? Or is it a combo of viewer + lsl? Oh, you mean those anti-inspect shield doohickeys? The advertisements lie, all they can pick up are touches. |
Sindy Tsure
Will script for shoes
Join date: 18 Sep 2006
Posts: 4,103
|
11-01-2009 18:03
Oh, you mean those anti-inspect shield doohickeys? The advertisements lie, all they can pick up are touches. /me nods - there's nothing in LSL that will tell you if somebody looking at or inspecting prims. You might be able to do it with a bot or hacked viewer but that's it. _____________________
Sick of sims locking up every time somebody TPs in? Vote for SVC-3895!!!
- Go here: https://jira.secondlife.com/browse/SVC-3895 - If you see "if you were logged in.." on the left, click it and log in - Click the "Vote for it" link on the left |
Viktoria Dovgal
…
![]() Join date: 29 Jul 2007
Posts: 3,593
|
11-01-2009 18:38
/me nods - there's nothing in LSL that will tell you if somebody looking at or inspecting prims. You might be able to do it with a bot or hacked viewer but that's it. Yep, and the transmitted camera information is unreliable from the regular viewers too. The mouseover hints only go out if tool tips are on, and the alt-zoom ones don't show panning, just the original focus point. The automatic lookats for chat etc. would need to be filtered out as useless for this kind of thing. |
Marita Mumfuzz
Registered User
Join date: 9 Mar 2008
Posts: 6
|
11-19-2009 07:38
If you are inworld you can see where other Avatars are looking if you are using the Emerald Viewer.
Under the Emerald tab in the top tool bar turn on "Show Look At" and it will show a 'crosshair' and the Avatars name where they are viewing. Have not found a use for it except to pass time while bored to see what peeps are lookin at. |
Jeredin Denimore
Romani Ite Domum
Join date: 5 Jul 2008
Posts: 95
|
11-19-2009 19:45
If you are inworld you can see where other Avatars are looking if you are using the Emerald Viewer. Under the Emerald tab in the top tool bar turn on "Show Look At" and it will show a 'crosshair' and the Avatars name where they are viewing. Have not found a use for it except to pass time while bored to see what peeps are lookin at. That is what was meant above by alt-zoom showing just the original focus point and not being useful for this purpose. Basically I can alt click 200m beyond you so that you are between me and what I alt-clicked on. Then zoom in til you are occupying my screen. Unless you were very lucky you wouldn't see the crosshairs 200M away and would likely conclude that I wasn't camming you. |