current3DENOperation: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Eden( |_)Editor(\||\])" to "[[:Category:Eden Editor$2")
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *O([a-z ])" to "$1 - o$2")
 
(2 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 [[:Category: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:
{{Columns|2|
* {{hl|""}} (no operation)
* {{hl|""}} (no operation)
* {{hl|"Move"}}
* {{hl|"CreateObject"}}
* {{hl|"Rotate"}}
* {{hl|"CreateMarker"}}
* {{hl|"GroupTo"}}
* {{hl|"CreateTrigger"}}
* {{hl|"Connect"}}
* {{hl|"MoveItems"}}
* {{hl|"Create"}}
* {{hl|"RotateItems"}}
 
* {{hl|"ScaleItems"}}
|x1= <sqf>if (current3DENOperation == "Move") then {hint "Moving";};</sqf>
* {{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 15: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