get3DENActionState: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<code>([^ ]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^ ]*)<\/code>" to "<code>$1$2$3</code>") |
Lou Montana (talk | contribs) m (Text replacement - "<code>([^ ]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^ ]*)<\/code>" to "<code>$1$2$3</code>") |
||
Line 14: | Line 14: | ||
|r1= [[Number]] | |r1= [[Number]] | ||
|x1= <code>if (get3DENActionState "ToggleMap" == 1) | |x1= <code>if (get3DENActionState "ToggleMap" == 1) then {[[systemChat]] "Editor map is open!"};</code> | ||
|seealso= [[do3DENAction]] | |seealso= [[do3DENAction]] | ||
}} | }} |
Revision as of 11:09, 12 May 2022
Description
- Description:
- Returns state of given Eden Editor action.
- Groups:
- Eden Editor
Syntax
- Syntax:
- get3DENActionState action
- Parameters:
- action: String - See Eden Editor: Actions
- 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