getCursorObjectParams: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "|= Game name" to "|Game name=") |
mNo edit summary |
||
Line 5: | Line 5: | ||
|1.70|Game version= | |1.70|Game version= | ||
|gr1= Object Detection |GROUP1= | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 09:53, 25 September 2020
Description
- Description:
- Returns object and named selections under cursor and distance to object's surface (to the point cursor points at). If object surface is further away than 50 meters, selections are always an empty array and distance is 1e10 (10^10).
- Groups:
- Object Detection
Syntax
- Syntax:
- getCursorObjectParams
- Return Value:
- Array - [cursorObject, selections, distance]
Examples
- Example 1:
hint str getCursorObjectParams;
Additional Information
- See also:
- cursorObjectcursorTarget
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