cursorObject: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) (see also) |
Killzone Kid (talk | contribs) (changed example to less confusing) |
||
Line 15: | Line 15: | ||
|x1= <code>[[hint]] [[ | |x1= <code>[[hint]] [[str]] [[getModelInfo]] [[cursorObject]];</code>|= EXAMPLE1 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ |
Revision as of 14:48, 8 April 2016
Description
- Description:
- Returns the object under cursor. This command is quite different from cursorTarget as it is more precise in determining the boundaries of the pointed at object and can detect a larger variety of objects including map objects and trees.
- Groups:
- Uncategorised
Syntax
- Syntax:
- cursorObject
- Return Value:
- Object
Examples
- Example 1:
hint str getModelInfo cursorObject;
Additional Information
- See also:
- cursorTargetlineIntersectslineIntersectsWithlineIntersectsObjslineIntersectsSurfacesintersectcheckVisibility
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