current3DENOperation: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{GameCategory|arma3|New Scripting Commands}} {{GameCategory|arma3|Scripting Commands}} {{uc:{{PAGENAME}}}}" to "")
m (formatting)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


|arma3
|game1= arma3


|1.56
|version1= 1.56


|gr1= Eden Editor
|gr1= Eden Editor


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


| '''current3DENOperation'''
|s1= '''current3DENOperation'''
| [[String]] - operation name. Can be one of following:
 
* "" (no operation)
|r1= [[String]] - Operation name. Can be:
* "Move"
* <tt>""</tt> (no operation)
* "Rotate"
* <tt>"Move"</tt>
* "GroupTo"
* <tt>"Rotate"</tt>
* "Connect"
* <tt>"GroupTo"</tt>
* "Create"
* <tt>"Connect"</tt>
* <tt>"Create"</tt>


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


|  
|seealso= [[do3DENAction]] [[get3DENActionState]]
[[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]]
}}
}}

Revision as of 12:28, 18 May 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:
  • "" (no operation)
  • "Move"
  • "Rotate"
  • "GroupTo"
  • "Connect"
  • "Create"

Examples

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

Additional Information

See also:
do3DENAction get3DENActionState

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