current3DENOperation: Difference between revisions

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


|arma3
|game1= arma3
 
|version1= 1.56
|1.56


|gr1= Eden Editor
|gr1= Eden Editor


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


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


|x1= <code>[[if]] ([[current3DENOperation]] == "Move") [[then]] {[[hint]] "Moving";};</code>
|r1= [[String]] - operation name. Can be:
{{Columns|2|
* {{hl|""}} (no operation)
* {{hl|"CreateObject"}}
* {{hl|"CreateMarker"}}
* {{hl|"CreateTrigger"}}
* {{hl|"MoveItems"}}
* {{hl|"RotateItems"}}
* {{hl|"ScaleItems"}}
* {{hl|"SyncWith"}}
* {{hl|"GroupWith"}}
* {{hl|"SetTriggerOwner"}}
* {{hl|"AddRandomStart"}}
}}
|x1= <sqf>if (current3DENOperation == "MoveItems") then { hint "Moving things are we"; };</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]]
}}
}}
{{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