cursorObject: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(see also)
mNo edit summary
Line 19: Line 19:
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[cursorTarget]], [[lineIntersects]], [[lineIntersectsObjs]], [[lineIntersectsSurfaces]], [[intersect]]|= SEEALSO  
| [[cursorTarget]], [[lineIntersects]], [[lineIntersectsWith]], [[lineIntersectsObjs]], [[lineIntersectsSurfaces]], [[intersect]]|= SEEALSO  


|  |= MPBEHAVIOUR  
|  |= MPBEHAVIOUR  

Revision as of 20:54, 5 February 2016

-wrong parameter ("arma3dev") defined!-[[:Category:Introduced with arma3dev version 1.55|1.55]]
Hover & click on the images for description

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 typeOf cursorObject;

Additional Information

See also:
cursorTargetlineIntersectslineIntersectsWithlineIntersectsObjslineIntersectsSurfacesintersect

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

[[Category:Introduced with arma3dev version 1.55]][[ Category: arma3dev: New Scripting Commands | CURSOROBJECT]][[ Category: arma3dev: Scripting Commands | CURSOROBJECT]]

Notes

Bottom Section