do3DENAction: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Added command)
 
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *S([a-z ])" to "$1 - s$2")
 
(37 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{Command|= Comments
{{RV|type=command
____________________________________________________________________________________________


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


|1.52|= Game version
|gr1= Eden Editor
____________________________________________________________________________________________


| Performs given 3DEN Editor action.<br/>
|descr= Performs given [[Eden Editor: Actions|Eden Editor action]].
Known actions:
{{Feature|warning|Prior to {{hl|Arma 3 2.12.150678}} it was possible to use this command outside of [[:Category:Eden Editor|Eden Editor]]. For example <sqf>do3DENAction "MissionSave";</sqf> would wipe the [[mission.sqm]] without a way to restore it when executed accidentally during preview.}}
* MissionNew
* MissionLoad
* MissionSave
* MissionPartIntro
* MissionPartOutroWin
* MissionPartOutroLoose
* MissionPreview
* MissionPreviewMP
* OpenIntelDisplay
* Undo
* Redo
* ToggleMap
* ToggleVision
* MoveGridToggle
* RotateGridToggle
* ScaleGridToggle
* SurfaceSnapToggle
* VerticalToggle
* WidgetToggle
* WidgetNone
* WidgetTranslation
* WidgetRotation
* WidgetScale
* WidgetCoord
* SelectGroupMode
* SelectMarkerMode
* SelectModuleMode
* SelectObjectMode
* SelectWaypointMode
* SelectSubmode1 - Blufor/Logic/Icons
* SelectSubmode2 - Opfor/Modules/Areas
* SelectSubmode3 - Independent
* SelectSubmode4 - Civilian
* SelectSubmode5 - Empty
|= Description
____________________________________________________________________________________________


| '''do3DENAction''' operation |= Syntax
|s1= [[do3DENAction]]  action
|p1= operation: [[String]]  |= PARAMETER1


| [[Nothing]] |= RETURNVALUE
|p1= action: [[String]] - see [[Eden Editor: Actions]]


|x1= <code>[[do3DENAction]] "ToggleMap";// opens map</code>|= EXAMPLE1
|r1= [[Nothing]]
____________________________________________________________________________________________


|  
|x1= <sqf>do3DENAction "MissionSave";</sqf>
[[get3DENMouseOver]]
 
[[add3DENConnection]]
|seealso= [[get3DENActionState]]
[[add3DENEventHandler]]
[[all3DENEntities]]
[[collect3DENHistory]]
[[create3DENComposition]]
[[create3DENEntity]]
[[current3DENOperation]]
[[delete3DENEntities]]
[[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: 3DEN|{{uc:{{PAGENAME}}}}]]

Latest revision as of 16:49, 8 November 2023

Hover & click on the images for description

Description

Description:
Performs given Eden Editor action.
Prior to Arma 3 2.12.150678 it was possible to use this command outside of Eden Editor. For example
do3DENAction "MissionSave";
would wipe the mission.sqm without a way to restore it when executed accidentally during preview.
Groups:
Eden Editor

Syntax

Syntax:
do3DENAction action
Parameters:
action: String - see Eden Editor: Actions
Return Value:
Nothing

Examples

Example 1:
do3DENAction "MissionSave";

Additional Information

See also:
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