Arma 3 Scripting

getCursorObjectParams

  • Arma 3 v1.70

Command · Markdown · JSON · original wiki page

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).

Syntax

getCursorObjectParams

Returns: Array with [cursorObject, selections, distance]

Examples

Example 1

hint str getCursorObjectParams;

See also

cursorObject · cursorTarget