get3DENActionState: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Returns state of given operation in the 3DEN Editor.<br/>
| Returns state of given action in the [[Eden Editor]].
Known operations:
<br/><br/>
* History
See the [[Eden_Editor:_Actions|list of all actions]].
* Init
* 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
  |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


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


| [[Number]] |= RETURNVALUE  
| [[Number]] |= RETURNVALUE  




|x1= <code>[[if]] ([[get3DENActionState]] "togglemap" == 1) [[then]] {[[systemChat]] "Editor map is open!"};</code>|= EXAMPLE1  
|x1= <code>[[if]] ([[get3DENActionState]] "ToggleMap" == 1) [[then]] {[[systemChat]] "Editor map is open!"};</code>|= EXAMPLE1  
____________________________________________________________________________________________
____________________________________________________________________________________________


|   
|   
[[get3DENMouseOver]]
[[add3DENConnection]]
[[add3DENEventHandler]]
[[all3DENEntities]]
[[collect3DENHistory]]
[[create3DENComposition]]
[[create3DENEntity]]
[[current3DENOperation]]
[[delete3DENEntities]]
[[do3DENAction]]  
[[do3DENAction]]  
[[get3DENAttribute]]
[[get3DENCamera]]
[[get3DENConnections]]
[[get3DENEntityID]]
[[get3DENGrid]] 
[[get3DENIconsVisible]]
[[get3DENLinesVisible]]
[[get3DENSelected]]
[[is3DEN]]
[[is3DENMultiplayer]]
[[move3DENCamera]]
[[remove3DENConnection]]
[[remove3DENEventHandler]]
[[removeAll3DENEventHandlers]]
[[set3DENAttributes]]
[[set3DENGrid]]
[[set3DENIconsVisible]]
[[set3DENLinesVisible]]
[[set3DENObjectType]]
|= SEEALSO  
|= SEEALSO  



Revision as of 11:33, 3 November 2015

-wrong parameter ("arma3dev") defined!-[[:Category:Introduced with arma3dev version 1.52|1.52]]
Hover & click on the images for description

Description

Description:
Returns state of given action in the Eden Editor.

See the list of all actions.
Groups:
Uncategorised

Syntax

Syntax:
get3DENActionState action
Parameters:
action: String
Return Value:
Number

Examples

Example 1:
if (get3DENActionState "ToggleMap" == 1) then {systemChat "Editor map is open!"};

Additional Information

See also:
do3DENAction

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

[[Category:Introduced with arma3dev version 1.52]][[ Category: arma3dev: New Scripting Commands | GET3DENACTIONSTATE]][[ Category: arma3dev: Scripting Commands | GET3DENACTIONSTATE]]

Notes


Bottom Section