current3DENOperation: Difference between revisions

From Bohemia Interactive Community
m (Text replacement - "_{10,} " to "")
m (Text replacement - "Category:Eden Editor" to "Eden Editor")
(21 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:
* {{hl|""}} (no operation)
* "" (no operation)
* {{hl|"Move"}}
* "Move"
* {{hl|"Rotate"}}
* "Rotate"
* {{hl|"GroupTo"}}
* "GroupTo"
* {{hl|"Connect"}}
* "Connect"
* {{hl|"Create"}}
* "Create"
|RETURNVALUE=


|x1= <code>[[if]] ([[current3DENOperation]] == "Move") [[then]] {[[hint]] "Moving";};</code>|EXAMPLE1=
|x1= <sqf>if (current3DENOperation == "Move") then {hint "Moving";};</sqf>


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

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