set3DENAttachedCursorEntity: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) (Page creation) |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
Line 8: | Line 8: | ||
|gr1= Eden Editor | |gr1= Eden Editor | ||
|descr= Attach an entity to the [[:Category:Eden Editor]] cursor. | |descr= Attach an entity to the [[:Category:Eden Editor|Eden Editor]] cursor. | ||
|s1= [[set3DENAttachedCursorEntity]] entityHashMap | |s1= [[set3DENAttachedCursorEntity]] entityHashMap | ||
|p1= entityHashMap: [[HashMap]] - in format [<nowiki/>["type", entityType], otherOptions] | |p1= entityHashMap: [[HashMap]] - in format [<nowiki/>["type", entityType], otherOptions] where ''entityType'' can be one of: | ||
{{{!}} class="wikitable" | |||
! type | |||
! options<br><span style="font-size: 0.9em">case-sensitive!</span> | |||
{{!}}- | |||
* | {{!}} "object" | ||
{{!}} | |||
* "classname": [[String]] - object classname; see [[Arma 3: Assets]] | |||
{{!}}- | |||
{{!}} "marker" | |||
{{!}} | |||
* "classname": [[String]] - see [[Arma 3: CfgMarkers#Marker Classes|marker classes]] | |||
* "markershape": [[String]] - can be one of: | |||
** "icon" | |||
** "rectangle" | |||
** "ellipse"{{Feature|important|"polyline" is '''not''' supported.}} | |||
{{!}}} | |||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
|x1= <sqf> | |x1= <sqf>set3DENAttachedCursorEntity createHashMapFromArray [["type", "unit"], ["classname", "B_Survivor_F"]];</sqf> | ||
</sqf> | |||
|x2= <sqf>set3DENAttachedCursorEntity createHashMapFromArray [["type", "marker"], ["classname", "mil_pickup"], ["markertype", "icon"]];</sqf> | |x2= <sqf>set3DENAttachedCursorEntity createHashMapFromArray [["type", "marker"], ["classname", "mil_pickup"], ["markertype", "icon"]];</sqf> | ||
|seealso= [[ | |seealso= [[Eden Editor: Object]] [[typeOf]] | ||
}} | }} |
Revision as of 11:26, 3 July 2024
Description
- Description:
- Attach an entity to the Eden Editor cursor.
- Groups:
- Eden Editor
Syntax
- Syntax:
- set3DENAttachedCursorEntity entityHashMap
- Parameters:
- entityHashMap: HashMap - in format [["type", entityType], otherOptions] where entityType can be one of:
type options
case-sensitive!"object" - "classname": String - object classname; see Arma 3: Assets
"marker" - "classname": String - see marker classes
- "markershape": String - can be one of:
- "icon"
- "rectangle"
- "ellipse"
- Return Value:
- Nothing
Examples
- Example 1:
- set3DENAttachedCursorEntity createHashMapFromArray [["type", "unit"], ["classname", "B_Survivor_F"]];
- Example 2:
- set3DENAttachedCursorEntity createHashMapFromArray [["type", "marker"], ["classname", "mil_pickup"], ["markertype", "icon"]];
Additional Information
- See also:
- Eden Editor: Object typeOf
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