cursorObject: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " <dd class="notedate">" to " <dt><dt> <dd class="notedate">") |
Lou Montana (talk | contribs) m (Text replacement - "<!-- Note Section [A-Z]+ --> " to "") |
||
Line 19: | Line 19: | ||
<dl class='command_description'> | <dl class='command_description'> | ||
<dt><dt> | <dt><dt> | ||
<dd class="notedate">Posted on March 23, 2015 - 18:17 (UTC)</dd> | <dd class="notedate">Posted on March 23, 2015 - 18:17 (UTC)</dd> | ||
Line 26: | Line 25: | ||
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). | 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). | ||
</dl> | </dl> |
Revision as of 00:32, 6 April 2021
Description
- Description:
- Description needed
- Groups:
- Object Detection
Syntax
- Syntax:
- Syntax needed
- Return Value:
- Return value needed
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).