Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

regaining users own controls

Abraxes Binder
Registered User
Join date: 23 May 2008
Posts: 205
06-10-2008 06:24
Hi, I have made this
http://pastebin.com/m4037d13
code to let a user control the height of an object with pgUp / pgDn. This works ok, but i do not know how to give back the normal controls to the user?
I would prefere that the 'take control' popup not was nescessary at all. Like if the object in question was in 'edit-mode' the user could push it around. If the user sets it in 'not-edit-mode' the user would have normalized his usage of PgUp/pgDn..
That would be ideal, but it is not a must.
Just a method to make sure that the user regain normal control at own will, would be suficient, but how can this be done?

tyia.

-----------
hehe.. a litle change kind of get me what i want -just added the posibillity to reset the script inside the control-state..
'kind' of works ok, but is that the prefered way to this?
_____________________
BR ab
Luke Poplin
Registered User
Join date: 2 Feb 2007
Posts: 32
06-10-2008 06:38
I can't see your code from where I'm working, but take a look at this and see if it helps.

http://lslwiki.net/lslwiki/wakka.php?wakka=llReleaseControls
Mrc Homewood
Mentor of Randomness
Join date: 24 Feb 2007
Posts: 779
06-10-2008 07:22
add a attached event into it and use llReleaseControls
Abraxes Binder
Registered User
Join date: 23 May 2008
Posts: 205
Thanks!
06-11-2008 01:52
Thank you, i knew there had to be a dedicated method
BR ab
_____________________
BR ab