{"name":"set3DENAttachedCursorEntity","title":"set3DENAttachedCursorEntity","type":"command","url":"https://community.bistudio.com/wiki/set3DENAttachedCursorEntity","revid":369759,"updated":"2024-10-08T15:08:56Z","groups":["Eden Editor"],"status":"ok","games":{"arma3":"2.18"},"since":"arma3 2.18","arma3_since":"2.18","description":"Attach an entity to the Eden Editor cursor.","syntaxes":[{"syntax":"set3DENAttachedCursorEntity entityHashMap","params":[{"name":"entityHashMap","type":"HashMap","description":"in format [[\"type\", entityType], otherOptions] where *entityType* can be one of:\n\n| type | options<br>case-sensitive! |\n|---|---|\n| \"object\" | - \"classname\": String - object classname; see Arma 3: Assets |\n| \"marker\" | - \"classname\": String - see marker classes<br>- \"markershape\": String - can be one of:<br>  - \"icon\"<br>  - \"rectangle\"<br>  - \"ellipse\"<br>    > [!IMPORTANT]<br>    > \"polyline\" is **not** supported. |\n| \"trigger\" | - \"classname\": String - object classname; from CfgNonAIVehicles with simulation=\"detector\". Usually \"EmptyDetector\" |\n| \"module\" | - \"classname\": String - object classname; |\n| \"waypoint\" | - \"classname\": String - classname; from CfgWaypoints |","type_expr":"HashMap"}],"returns":{"type":"Nothing","type_expr":"Nothing"},"form":"unary","right":{"text":"entityHashMap"}}],"examples":[{"code":["set3DENAttachedCursorEntity createHashMapFromArray [[\"type\", \"object\"], [\"classname\", \"B_Survivor_F\"]];"]},{"code":["set3DENAttachedCursorEntity createHashMapFromArray [[\"type\", \"marker\"], [\"classname\", \"mil_pickup\"], [\"markertype\", \"icon\"]];"]}],"see_also":["Eden Editor: Object","typeOf"]}