Christopher Omega
Oxymoron
Join date: 28 Mar 2003
Posts: 1,828
|
12-10-2005 17:50
Hey all, Im trying to create an object that knows how the user drags it. Has anyone been noticing problems with llDetectedGrab post-1.7? Here's the script Im using: default { state_entry() { llSetStatus(STATUS_BLOCK_GRAB, TRUE); } touch(integer total_number) { integer i; for (i = 0; i < total_number; ++i) { llOwnerSay((string)llDetectedGrab(i)); llSay(1, (string)llDetectedGrab(i)); } } }
The function only seems to return <0, 0, 0>. ==Chris
|
Cid Jacobs
Theoretical Meteorologist
Join date: 18 Jul 2004
Posts: 4,304
|
12-10-2005 17:58
It might be the line llSetStatus(STATUS_BLOCK_GRAB, TRUE); , shouldn't that be FALSE? I recently did some work with llDetectedGrab in 1.7, and i got returned values not equal to <0,0,0> so I am pretty sure it is still working. I will try to test it again next time I am in world though 
|
Christopher Omega
Oxymoron
Join date: 28 Mar 2003
Posts: 1,828
|
12-11-2005 08:16
Tryed FALSE, still doesn't register drags.  ==Chris
|
Cid Jacobs
Theoretical Meteorologist
Join date: 18 Jul 2004
Posts: 4,304
|
12-11-2005 13:33
You could try this quick snippet and see if you are getting any other values. default { touch(integer total_number) { if(llDetectedGrab(0) != ZERO_VECTOR) { llSay(0, (string)llDetectedGrab(0)); } } } I am still trying to get in world and see if I can tell if anything is up with it. (crap comp atm :-/ )
|