current3DENOperation: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "_{10,} " to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...)
Line 1: Line 1:
{{Command|Comments=
{{Command


|arma3|Game name=
|arma3


|1.56|Game version=
|1.56


|gr1= Eden Editor |GROUP1=
|gr1= Eden Editor


| Returns the currently performed editing operation in [[Eden Editor]]. |DESCRIPTION=
| Returns the currently performed editing operation in [[Eden Editor]].


| '''current3DENOperation''' |SYNTAX=
| '''current3DENOperation'''
| [[String]] - operation name. Can be one of following:
| [[String]] - operation name. Can be one of following:
* "" (no operation)
* "" (no operation)
Line 17: Line 17:
* "Connect"
* "Connect"
* "Create"
* "Create"
|RETURNVALUE=


|x1= <code>[[if]] ([[current3DENOperation]] == "Move") [[then]] {[[hint]] "Moving";};</code>|EXAMPLE1=
 
|x1= <code>[[if]] ([[current3DENOperation]] == "Move") [[then]] {[[hint]] "Moving";};</code>


|  
|  
Line 49: Line 49:
[[set3DENIconsVisible]]
[[set3DENIconsVisible]]
[[set3DENLinesVisible]]
[[set3DENLinesVisible]]
[[set3DENObjectType]] |SEEALSO=
[[set3DENObjectType]]
|  |MPBEHAVIOUR=  
|  |MPBEHAVIOUR=  
}}
}}

Revision as of 01:29, 18 January 2021

Hover & click on the images for description

Description

Description:
Returns the currently performed editing operation in Eden Editor.
Groups:
Eden Editor

Syntax

Syntax:
current3DENOperation
Return Value:
String - operation name. Can be one of following:
  • "" (no operation)
  • "Move"
  • "Rotate"
  • "GroupTo"
  • "Connect"
  • "Create"

Examples

Example 1:
if (current3DENOperation == "Move") then {hint "Moving";};

Additional Information

See also:
get3DENMouseOver add3DENConnection add3DENEventHandler all3DENEntities collect3DENHistory create3DENComposition create3DENEntity 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

Notes


Bottom Section