getCursorObjectParams

From Bohemia Interactive Community
Jump to: navigation, search
Introduced with Arma 3 version 1.70
  

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
1.70

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 then 50 meters, selections are always an empty array and distance is 1e10 (10^10).

Syntax

Syntax:
getCursorObjectParams
Return Value:
Array - [cursorObject, selections, distance]

Examples

Example 1:
hint str getCursorObjectParams;

Additional Information

Multiplayer:
-
See also:
cursorObjectcursorTarget

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section