get3DENMouseOver: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Arma[ _]3(\|.*)]]" to "{{GameCategory|arma3|Scripting Commands}}")
m (Text replacement - "Category:Eden Editor" to "Eden Editor")
 
(21 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command|Comments=
{{RV|type=command
____________________________________________________________________________________________


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


|1.56|Game version=
|gr1= Eden Editor


|gr1= Eden Editor |GROUP1=
|descr= Returns the [[Eden Entity]] the mouse is hovering over in [[:Category:Eden Editor|Eden Editor]].
____________________________________________________________________________________________


| Returns the [[Eden Entity]] the mouse is hovering over in [[Eden Editor]]. |DESCRIPTION=
|s1= [[get3DENMouseOver]]
____________________________________________________________________________________________


| '''get3DENMouseOver'''|SYNTAX=
|r1= [[Array]] in format [type, entity]:
| [[Array]] in format: [type,[[Eden Entity]]], where type can be: "Object", "Group", "Trigger", "Logic", "Waypoint" or "Marker" |RETURNVALUE=


|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>
{{GameCategory|arma3|New_Scripting_Commands_List}}
{{GameCategory|arma3|Scripting Commands}}
[[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