current3DENOperation: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|game([0-9])= *([^ ]+) * +\|version([0-9])= *([^ ]+) * " to "|game$1=$2 |version$3=$4 ")
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *O([a-z ])" to "$1 - o$2")
 
(10 intermediate revisions by the same user not shown)
Line 6: Line 6:
|gr1= Eden Editor
|gr1= Eden Editor


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


|s1= [[current3DENOperation]]  
|s1= [[current3DENOperation]]  


|r1= [[String]] - Operation name. Can be:
|r1= [[String]] - operation name. Can be:
* <tt>""</tt> (no operation)
{{Columns|2|
* <tt>"Move"</tt>
* {{hl|""}} (no operation)
* <tt>"Rotate"</tt>
* {{hl|"CreateObject"}}
* <tt>"GroupTo"</tt>
* {{hl|"CreateMarker"}}
* <tt>"Connect"</tt>
* {{hl|"CreateTrigger"}}
* <tt>"Create"</tt>
* {{hl|"MoveItems"}}
 
* {{hl|"RotateItems"}}
|x1= <code>[[if]] ([[current3DENOperation]] == "Move") [[then]] {[[hint]] "Moving";};</code>
* {{hl|"ScaleItems"}}
* {{hl|"SyncWith"}}
* {{hl|"GroupWith"}}
* {{hl|"SetTriggerOwner"}}
* {{hl|"AddRandomStart"}}
}}
|x1= <sqf>if (current3DENOperation == "MoveItems") then { hint "Moving things are we"; };</sqf>


|seealso= [[do3DENAction]] [[get3DENActionState]]
|seealso= [[do3DENAction]] [[get3DENActionState]]
}}
}}

Latest revision as of 16:44, 8 November 2023

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)
  • "CreateObject"
  • "CreateMarker"
  • "CreateTrigger"
  • "MoveItems"
  • "RotateItems"
  • "ScaleItems"
  • "SyncWith"
  • "GroupWith"
  • "SetTriggerOwner"
  • "AddRandomStart"

Examples

Example 1:
if (current3DENOperation == "MoveItems") then { hint "Moving things are we"; };

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