Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

STATUS_BLOCK_GRAB broken on physical objects?

Easy Wheeling
Registered User
Join date: 18 Jun 2004
Posts: 28
08-20-2006 03:51
I'm trying to make my flying (physical) vehicle not be affected by people grabbing it while it's flying. (This is needed for a game.)

Setting STATUS_BLOCK_GRAB TRUE or FALSE, 1 or 0, with or without a touch event in the script, and with the script in every prim just doesn't seem to prevent people from being able to stop me in flight.

CODE

default
{
state_entry()
{
llSetStatus(STATUS_BLOCK_GRAB, TRUE);
}
}


The above doesn't work.
Any help is appreciated.
_____________________
- Life is precious. Live it well.
Lex Neva
wears dorky glasses
Join date: 27 Nov 2004
Posts: 1,361
08-20-2006 07:50
For one thing, I noticed that if you have a touch event in an object at all, control-grabbing (which I think is what STATUS_BLOCK_GRAB refers to) doens't work, even if you set STATUS_BLOCK_GRAB to false. If you just want to prevent people from being able to right-click your vehicle and stop it dead..... you can't. You lose. I think there's a proposal or two in the feature voting tool to prevent people from being able to freeze physical objects they don't own/control.
Easy Wheeling
Registered User
Join date: 18 Jun 2004
Posts: 28
08-20-2006 20:46
Thanks for the reply, Lex, but I'm not talking about stoping me with a right click, though that's a problem too.

Sadly, even a left click and hold seems impossible to prevent, and STATUS_BLOCK_GRAB should prevent that. It's broken, I see an old post from a Linden that said it would be fixed all the way back in version 0.6. Are we still waiting?

Is there any way around this problem?
_____________________
- Life is precious. Live it well.
Lex Neva
wears dorky glasses
Join date: 27 Nov 2004
Posts: 1,361
08-21-2006 08:30
Whoa, really? I guess that means grab is even more broken than I thought...
Seagel Neville
Far East User
Join date: 2 Jan 2005
Posts: 1,476
08-22-2006 05:05
Yes, I made sure this bug had happend on the Preview 1.12.0 (11), too. :(
_____________________
:) Seagel Neville :)
Seagel Neville
Far East User
Join date: 2 Jan 2005
Posts: 1,476
08-22-2006 08:19
Oops. It was my mistake. :o
Milo Linden said to me, "I'm unable to verify this, could you make sure the script was set running and in an area that allows scripts to be run." And I've found it not set running. :eek:
Sometimes the running check mark seems to be lost why I don't know.
_____________________
:) Seagel Neville :)
Jason Foo
Old Timer
Join date: 6 Feb 2004
Posts: 105
08-22-2006 09:57
From: Seagel Neville
Oops. It was my mistake. :o
Milo Linden said to me, "I'm unable to verify this, could you make sure the script was set running and in an area that allows scripts to be run." And I've found it not set running. :eek:
Sometimes the running check mark seems to be lost why I don't know.


Lol, I actually ran into this problem just a couploe days ago! My hud I finished scripting wasn't talking to its server and I couldn't understand why! everything in every script checked out fine, and then finally I noticed that the (RUNNING) checkbox somehow was unchecked! Unbelievable!!!!!
_____________________
If my doctor told me I had only six minutes to live, I wouldn't brood. I'd type a little faster.