current3DENOperation: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *O([a-z ])" to "$1 - o$2")
 
(3 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:
{{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 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