current3DENOperation: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "Category:Eden Editor" to "Eden Editor")
(Update action list)
Line 11: Line 11:


|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]]
}}
}}

Revision as of 18:22, 2 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