current3DENOperation: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|s1= +" to "|s1= ")
m (Text replacement - "<tt>([a-zA-Z0-9\. _"']+)<\/tt>" to "{{hl|$1}}")
Line 11: Line 11:


|r1= [[String]] - Operation name. Can be:
|r1= [[String]] - Operation name. Can be:
* <tt>""</tt> (no operation)
* {{hl|""}} (no operation)
* <tt>"Move"</tt>
* {{hl|"Move"}}
* <tt>"Rotate"</tt>
* {{hl|"Rotate"}}
* <tt>"GroupTo"</tt>
* {{hl|"GroupTo"}}
* <tt>"Connect"</tt>
* {{hl|"Connect"}}
* <tt>"Create"</tt>
* {{hl|"Create"}}


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

Revision as of 00:45, 16 November 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