cursorObject: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<dl class='command_description'>" to "<dl class="command_description">") |
Lou Montana (talk | contribs) m (Text replacement - "\|( *\[\[[a-zA-Z]+\]\]) * \|x1=" to "\|r1=$1 \|x1=") |
||
Line 11: | Line 11: | ||
| '''cursorObject''' | | '''cursorObject''' | ||
| [[Object]] | \|r1= [[Object]] | ||
|x1= <code>[[hint]] [[str]] [<nowiki/>[[getModelInfo]] [[cursorObject]], [[typeOf]] [[cursorObject]]];</code> | \|x1= <code>[[hint]] [[str]] [<nowiki/>[[getModelInfo]] [[cursorObject]], [[typeOf]] [[cursorObject]]];</code> | ||
|seealso= [[getCursorObjectParams]], [[cursorTarget]], [[lineIntersects]], [[lineIntersectsWith]], [[lineIntersectsObjs]], [[lineIntersectsSurfaces]], [[intersect]], [[checkVisibility]] | |seealso= [[getCursorObjectParams]], [[cursorTarget]], [[lineIntersects]], [[lineIntersectsWith]], [[lineIntersectsObjs]], [[lineIntersectsSurfaces]], [[intersect]], [[checkVisibility]] |
Revision as of 10:26, 10 June 2021
Description
- Description:
- Description needed
- Groups:
- Object Detection
Syntax
- Syntax:
- Syntax needed
- Return Value:
- Object \
Examples
- Example 1:
hint str [getModelInfo cursorObject, typeOf cursorObject];
Additional Information
- See also:
- getCursorObjectParamscursorTargetlineIntersectslineIntersectsWithlineIntersectsObjslineIntersectsSurfacesintersectcheckVisibility
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note
- Posted on March 23, 2015 - 18:17 (UTC)
- Pierre MGI
- If you point at the primary weapon of an infantry unit, cursorObject will return the p3d of the weapon instead of the unit itself (B Alpha 1-2:1.. or its variable name ). That doesn't occur for anything else (backpack or headgear).