I am trying to figure how to use llDetectedGrab to get the drag offset of the object the script is IN. If i read corretly the wiki llDetectedGrab uses an int wich is the index of a previously detected object/agent... :
All llDetected* functions have one integer parameter in common, which is an index of the found targets of a sensor, touch, or collision event
So i understand that first i need to detect the object with a sensor to be able to use llDetectedGrab , right?
I am not sure how to do that :-\ i think i understand how to do it to detect other objects around the scripted one, objects that collide with me, agents that touch me etc..
But how to use a sensor inside an object to detect the object itself to be able to use the detectedgrab? isn't there a better way to do it?
Thank u very much for your time and help