getCursorObjectParams: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \{\{GameCategory *\| *arma3 *\| *(New )?Scripting Commands\}\}" to "") |
Lou Montana (talk | contribs) m (Text replacement - " \| *('''[a-zA-Z0-9]+''') \|r1=" to " \|s1= $1 |r1=") |
||
Line 9: | Line 9: | ||
| 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). | | 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). | ||
| '''getCursorObjectParams''' | \|s1= '''getCursorObjectParams''' | ||
|r1=[[Array]] - [cursorObject, selections, distance] | |r1=[[Array]] - [cursorObject, selections, distance] |
Revision as of 15:42, 13 June 2021
Description
- Description:
- Description needed
- 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