get3DENMouseOver: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Added command)
 
m (Text replacement - "Category:Eden Editor" to "Eden Editor")
 
(36 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{Command|= Comments
{{RV|type=command
____________________________________________________________________________________________


| arma3dev |= Game name
|game1= arma3
|version1= 1.56


|1.52|= Game version
|gr1= Eden Editor
____________________________________________________________________________________________


| Returns the 3DEN entity the mouse is hovering over in 3DEN Editor. Only returns objects select-able in editor. |= Description
|descr= Returns the [[Eden Entity]] the mouse is hovering over in [[:Category:Eden Editor|Eden Editor]].
____________________________________________________________________________________________


| '''get3DENMouseOver'''|= Syntax
|s1= [[get3DENMouseOver]]
| [[Array]] |= RETURNVALUE


|r1= [[Array]] in format [type, entity]:


|x1= <code>[[systemChat]] [[str]] [[get3DENMouseOver]];// returns: ["Object",B Alpha 1-1:1]</code>|= EXAMPLE1
* type: [[String]] - can be one of:
____________________________________________________________________________________________
** "Object"
** "Group"
** "Trigger"
** "Logic"
** "Waypoint"
** "Marker"
* entity: [[Eden Entity]]


|  
|x1= <sqf>systemChat str get3DENMouseOver; // returns e.g ["Object", B Alpha 1-1:1]</sqf>
[[add3DENConnection]]
[[add3DENEventHandler]]
[[all3DENEntities]]
[[collect3DENHistory]]
[[create3DENComposition]]
[[create3DENEntity]]
[[current3DENOperation]]
[[delete3DENEntities]]
[[do3DENAction]]
[[get3DENActionState]]
[[get3DENAttribute]]
[[get3DENCamera]]
[[get3DENConnections]]
[[get3DENEntityID]]
[[get3DENGrid]] 
[[get3DENIconsVisible]]
[[get3DENLinesVisible]]
[[get3DENSelected]]
[[is3DEN]]
[[is3DENMultiplayer]]
[[move3DENCamera]]
[[remove3DENConnection]]
[[remove3DENEventHandler]]
[[removeAll3DENEventHandlers]]
[[set3DENAttributes]]
[[set3DENGrid]]
[[set3DENIconsVisible]]
[[set3DENLinesVisible]]
[[set3DENObjectType]]


|= SEEALSO
|seealso= [[add3DENConnection]] [[add3DENEventHandler]] [[all3DENEntities]] [[collect3DENHistory]] [[create3DENComposition]] [[create3DENEntity]] [[current3DENOperation]] [[delete3DENEntities]] [[do3DENAction]] [[get3DENActionState]] [[get3DENAttribute]] [[get3DENCamera]] [[get3DENConnections]] [[get3DENEntityID]] [[get3DENGrid]] [[get3DENIconsVisible]] [[get3DENLinesVisible]] [[get3DENSelected]] [[is3DEN]] [[is3DENMultiplayer]] [[move3DENCamera]] [[remove3DENConnection]] [[remove3DENEventHandler]] [[removeAll3DENEventHandlers]] [[set3DENAttributes]] [[set3DENGrid]] [[set3DENIconsVisible]] [[set3DENLinesVisible]] [[set3DENObjectType]]
 
|  |= MPBEHAVIOUR
____________________________________________________________________________________________
}}
}}
<h3 style='display:none'>Notes</h3>
<dl class='command_description'>
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<!-- DISCONTINUE Notes -->
<h3 style='display:none'>Bottom Section</h3>
[[Category:Arma_3:_New_Scripting_Commands_List|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Latest revision as of 13:26, 9 July 2023

Hover & click on the images for description

Description

Description:
Returns the Eden Entity the mouse is hovering over in Eden Editor.
Groups:
Eden Editor

Syntax

Syntax:
get3DENMouseOver
Return Value:
Array in format [type, entity]:
  • type: String - can be one of:
    • "Object"
    • "Group"
    • "Trigger"
    • "Logic"
    • "Waypoint"
    • "Marker"
  • entity: Eden Entity

Examples

Example 1:
systemChat str get3DENMouseOver; // returns e.g ["Object", B Alpha 1-1:1]

Additional Information

See also:
add3DENConnection add3DENEventHandler all3DENEntities collect3DENHistory create3DENComposition create3DENEntity current3DENOperation delete3DENEntities do3DENAction get3DENActionState get3DENAttribute get3DENCamera get3DENConnections get3DENEntityID get3DENGrid get3DENIconsVisible get3DENLinesVisible get3DENSelected is3DEN is3DENMultiplayer move3DENCamera remove3DENConnection remove3DENEventHandler removeAll3DENEventHandlers set3DENAttributes set3DENGrid set3DENIconsVisible set3DENLinesVisible set3DENObjectType

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