current3DENOperation: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "_{10,} " to "")
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *O([a-z ])" to "$1 - o$2")
 
(23 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command|Comments=
{{RV|type=command


|arma3|Game name=
|game1= arma3
|version1= 1.56


|1.56|Game version=
|gr1= Eden Editor


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


| Returns the currently performed editing operation in [[Eden Editor]]. |DESCRIPTION=
|s1= [[current3DENOperation]]  


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


|x1= <code>[[if]] ([[current3DENOperation]] == "Move") [[then]] {[[hint]] "Moving";};</code>|EXAMPLE1=
|seealso= [[do3DENAction]] [[get3DENActionState]]
 
|
[[get3DENMouseOver]]
[[add3DENConnection]]
[[add3DENEventHandler]]
[[all3DENEntities]]
[[collect3DENHistory]]
[[create3DENComposition]]
[[create3DENEntity]]
[[do3DENAction]]  
[[get3DENActionState]]
[[get3DENAttribute]]
[[get3DENCamera]]
[[get3DENConnections]]
[[get3DENEntityID]]
[[get3DENGrid]] 
[[get3DENIconsVisible]]
[[get3DENLinesVisible]]
[[get3DENSelected]]
[[is3DEN]]
[[is3DENMultiplayer]]
[[move3DENCamera]]
[[remove3DENConnection]]
[[remove3DENEventHandler]]
[[removeAll3DENEventHandlers]]
[[set3DENAttributes]]
[[set3DENGrid]]
[[set3DENIconsVisible]]
[[set3DENLinesVisible]]
[[set3DENObjectType]] |SEEALSO=
|  |MPBEHAVIOUR=
}}
}}
<h3 style='display:none'>Notes</h3>
<dl class='command_description'>
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<!-- DISCONTINUE Notes -->
<h3 style='display:none'>Bottom Section</h3>
{{GameCategory|arma3|New Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

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