current3DENOperation: Difference between revisions

From Bohemia Interactive Community
m (see also)
m (Text replacement - "Category:Eden Editor" to "Eden Editor")
(33 intermediate revisions by 3 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
____________________________________________________________________________________________


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


| '''current3DENOperation''' |= Syntax
|s1= [[current3DENOperation]]  
| [[String]] - operation name. Can be one of following:
* "" (no operation)
* "Move"
* "Rotate"
* "GroupTo"
* "Connect"
* "Create"
|= RETURNVALUE


|x1= <code>[[if]] ([[current3DENOperation]] == "Move") [[then]] {[[hint]] "Moving";};</code>|= EXAMPLE1
|r1= [[String]] - Operation name. Can be:
____________________________________________________________________________________________
* {{hl|""}} (no operation)
* {{hl|"Move"}}
* {{hl|"Rotate"}}
* {{hl|"GroupTo"}}
* {{hl|"Connect"}}
* {{hl|"Create"}}


|  
|x1= <sqf>if (current3DENOperation == "Move") then {hint "Moving";};</sqf>
[[get3DENMouseOver]]
 
[[add3DENConnection]]
|seealso= [[do3DENAction]] [[get3DENActionState]]
[[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>
[[Category:Arma_3:_New_Scripting_Commands_List|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Command Group: Eden Editor|{{uc:{{PAGENAME}}}}]]

Revision as of 13:26, 9 July 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)
  • "Move"
  • "Rotate"
  • "GroupTo"
  • "Connect"
  • "Create"

Examples

Example 1:
if (current3DENOperation == "Move") then {hint "Moving";};

Additional Information

See also:
do3DENAction get3DENActionState

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord.
Only post proven facts here! Add Note