get3DENActionState: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "(\| * )+\}\}" to "}}")
m (Text replacement - " {3,}\|" to " |")
Line 10: Line 10:
<br><br>
<br><br>
See the [[Eden_Editor:_Actions|list of all actions]].
See the [[Eden_Editor:_Actions|list of all actions]].


| '''get3DENActionState''' action
| '''get3DENActionState''' action
Line 16: Line 15:


| [[Number]]
| [[Number]]


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

Revision as of 18:24, 18 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