set3DENAttachedCursorEntity: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Some wiki formatting) |
Lou Montana (talk | contribs) m (Text replacement - "↵|version1= 2.18↵↵|branch= dev↵" to " |version1= 2.18 ") |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 3: | Line 3: | ||
|game1= arma3 | |game1= arma3 | ||
|version1= 2.18 | |version1= 2.18 | ||
|gr1= Eden Editor | |gr1= Eden Editor | ||
Line 28: | Line 26: | ||
** "rectangle" | ** "rectangle" | ||
** "ellipse"{{Feature|important|"polyline" is '''not''' supported.}} | ** "ellipse"{{Feature|important|"polyline" is '''not''' supported.}} | ||
{{!}}- | |||
{{!}} "trigger" | |||
{{!}} | |||
* "classname": [[String]] - object classname; from CfgNonAIVehicles with simulation="detector". Usually "EmptyDetector" | |||
{{!}}- | |||
{{!}} "module" | |||
{{!}} | |||
* "classname": [[String]] - object classname; | |||
{{!}}- | |||
{{!}} "waypoint" | |||
{{!}} | |||
* "classname": [[String]] - classname; from CfgWaypoints | |||
{{!}}} | {{!}}} | ||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
|x1= <sqf>set3DENAttachedCursorEntity createHashMapFromArray [["type", " | |x1= <sqf>set3DENAttachedCursorEntity createHashMapFromArray [["type", "object"], ["classname", "B_Survivor_F"]];</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> |
Latest revision as of 16:08, 8 October 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"
"trigger" - "classname": String - object classname; from CfgNonAIVehicles with simulation="detector". Usually "EmptyDetector"
"module" - "classname": String - object classname;
"waypoint" - "classname": String - classname; from CfgWaypoints
- Return Value:
- Nothing
Examples
- Example 1:
- set3DENAttachedCursorEntity createHashMapFromArray [["type", "object"], ["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