User:Haravikk Mistral/DETECT*

From Second Life Wiki
< User:Haravikk Mistral
Revision as of 03:26, 23 October 2010 by Haravikk Mistral (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Constant Description
DETECT_GROUP Populates llDetectedGroup() with the key of the group that the struck object, avatar, or land belongs to.
DETECT_KEY Populates llDetectedKey() with the key of the primitive or avatar that was struck. If land is detected this value will be NULL_KEY.
DETECT_ROOT_KEY Populates llDetectedKey() with the key of the object root or avatar that was struck. If land is detected this value will be NULL_KEY.
DETECT_LINK_NUMBER Populates llDetectedLinkNumber() with the link-number of the primitive that was struck. If an avatar or land were struck then this will be zero.
DETECT_NAME Populates llDetectedName() with the name of the primitive or avatar that was struck. If land is detected this value will be an empty string.
DETECT_OWNER Populates llDetectedOwner() with the name of the avatar that owns the struck object or land. If an avatar is struck then their key is returned here.
DETECT_ROOT_NAME Populates llDetectedName() with the name of the object root or avatar that was struck. If land is detected this value will be an empty string.
DETECT_POSITION Populates llDetectedPos() with the position of the primitive that was struck.
DETECT_ROOT_POSITION Populates llDetectedPos() with the position of the object root that was struck.
DETECT_ROTATION Populates llDetectedRot() with the rotation of the primitive that was struck.
DETECT_ROOT_ROTATION Populates llDetectedRot() with the rotation of the object root that was struck.
DETECT_TOUCH_BINORMAL Populates llDetectedTouchBinormal() with the tangental normal vector at which the detected object was struck.
DETECT_TOUCH_FACE Populates llDetectedTouchFace() with the primitive face that was struck. If an avatar or land were struck then this will be TOUCH_INVALID_FACE.
DETECT_TOUCH_NORMAL Populates llDetectedTouchNormal() with the normal vector at which the detected object was struck.
DETECT_TOUCH_ST Populates llDetectedTouchST() with the face coordinates at which the detected object was struck. If an avatar or land are struck then this will be TOUCH_INVALID_TEXCOORD.
DETECT_TOUCH_UV Populates llDetectedTouchST() with the texture coordinates at which the detected object was struck. If an avatar or land are struck then this will be TOUCH_INVALID_TEXCOORD.
DETECT_TYPE Populates llDetectedType() with the type of object that was struck.
DETECT_VELOCITY Populates llDetectedVel() with the velocity of the object that was struck.