Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Multiple Camera HUD

Dudeney Ge
EduNation Archipelago
Join date: 21 Jul 2006
Posts: 95
10-03-2006 06:16
Hi All,

So I can make an object (in this case a little circular prim) which, when worn (HUD) and clicked, gets camera permissions and sends my camera off somewhere else to look at something else.

Now, what I'd like to do would be to duplicate that prim, making - for sake of argument - 20 camera positions, each represented by a small dot which can be clicked to reorient the camera. I'd then like to stick them all on a bigger HUD prim, giving me a HUD with 20 clickable cameras.

[ stop me if this isn't making any sense ]

I have a menu-driven version of this working already...

Now, I create a bigger HUD and I link my first camera 'dot' to it and I wear it, but the previously working camera dot appears now not to be able to get camera control permission. So, the questions:

1) Can I have the main HUD object request camera control permissions when the HUD is worn, and for that permission to carry through to the little dots linked on the main HUD object - or does each object need to do this? If permissions can be carried through to the other prims on the HUD, how is this achieved?

2) If it has to be done on an individual prim level, given that the individual prims are not 'physically worn' once they are part of the HUD (as far as I can see), what's the best way of setting each dot up so it gets permissions, before it's clicked to reprient the camera?

Thanks in advance,

DG
HtF Visconti
Registered User
Join date: 21 Jul 2006
Posts: 123
10-04-2006 00:14
Hi,

as far as I understand the permissions 8which is not very far, I admit) the permission is script wise, not object wise. But you should get a permission dialog for the linked button - if you do not get the dialog something isn't working.

Apart from that I'd take a different approach personally. I'd have the root prim execute all the code and the buttons just send messages to the root prim that they were triggered. A little notecard with camra offsets and you have a nice generic system to use.

To add a button you'd just have to link it, have it say its number via linked message when clicked and, of course, add the camera parameters to the notecard.
Dudeney Ge
EduNation Archipelago
Join date: 21 Jul 2006
Posts: 95
Agreed
10-04-2006 00:34
HtF,

Thanks for this - and exactly the approach that Don Misfit adopted when he dropped in to see me last night and created it on the spot. Thanks to him I've got a nice basic system working.

I really do value the responses given here - one day I hope to be experienced enough to give something back.

DG