get3DENActionState: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\{\{GameCategory\|(arma[0123])\|New[ _]Scripting[ _]Commands[ _]List\}\}" to "{{GameCategory|$1|New Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


|arma3|Game name=
|arma3|Game name=
Line 7: Line 6:


|gr1= Eden Editor |GROUP1=
|gr1= Eden Editor |GROUP1=
____________________________________________________________________________________________


| Returns state of given action in the [[Eden Editor]].
| Returns state of given action in the [[Eden Editor]].
Line 13: Line 11:
See the [[Eden_Editor:_Actions|list of all actions]].
See the [[Eden_Editor:_Actions|list of all actions]].
  |DESCRIPTION=
  |DESCRIPTION=
____________________________________________________________________________________________


| '''get3DENActionState''' action|SYNTAX=
| '''get3DENActionState''' action|SYNTAX=
Line 22: Line 19:


|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=  
____________________________________________________________________________________________


|   
|   
Line 29: Line 25:


|  |MPBEHAVIOUR=  
|  |MPBEHAVIOUR=  
____________________________________________________________________________________________
}}
}}



Revision as of 02:17, 17 January 2021

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:
Eden Editor

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

Notes


Bottom Section