set3DENAttachedCursorEntity

From Bohemia Interactive Community
Revision as of 10:38, 3 July 2024 by Lou Montana (talk | contribs) (Page creation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Hover & click on the images for description
Only available in Development branch(es) until its release with Arma 3 patch v2.18.

Description

Description:
Attach an entity to the Category:Eden Editor cursor.
Groups:
Eden Editor

Syntax

Syntax:
set3DENAttachedCursorEntity entityHashMap
Parameters:
entityHashMap: HashMap - in format [["type", entityType], otherOptions]:
  • entityType - can be one of:
    • "unit" - available options are:
    • "marker" - available options are:
      • markertype - String ("icon", "rectangle", "ellipse")
Return Value:
Nothing

Examples

Example 1:
0 spawn { sleep 2; set3DENAttachedCursorEntity createHashMapFromArray [["type", "unit"], ["classname", "B_Survivor_F"]]; };
Example 2:
set3DENAttachedCursorEntity createHashMapFromArray [["type", "marker"], ["classname", "mil_pickup"], ["markertype", "icon"]];

Additional Information

See also:
seeAlso1 seeAlso2

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