get3DENActionState: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "{{GameCategory|arma3|New Scripting Commands}} {{GameCategory|arma3|Scripting Commands}} {{uc:{{PAGENAME}}}}" to "") |
m (formatting) |
||
Line 1: | Line 1: | ||
{{RV|type=command | {{RV|type=command | ||
|arma3 | |game1= arma3 | ||
|1.56 | |version1= 1.56 | ||
|gr1= Eden Editor | |gr1= Eden Editor | ||
| Returns state of given | |descr= Returns state of given [[Eden Editor: Actions|Eden Editor action]]. | ||
| '''get3DENActionState''' action | |s1= '''get3DENActionState''' action | ||
| [[Number]] | |p1= action: [[String]] - See [[Eden Editor: Actions]] | ||
|r1= [[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> | ||
| | |seealso= [[do3DENAction]] | ||
[[do3DENAction]] | |||
}} | }} |
Revision as of 14:02, 18 May 2021
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