get3DENActionState: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| *s([0-9]) *= ([^ ]+)? ?'''([a-zA-Z0-9_]+)''' ?([^ ]+)? " to " |s$1= $2 $3 $4 ")
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *S([a-z ])" to "$1 - s$2")
 
(7 intermediate revisions by the same user not shown)
Line 2: Line 2:


|game1= arma3
|game1= arma3
|version1= 1.56
|version1= 1.56


Line 9: Line 8:
|descr= Returns state of given [[Eden Editor: Actions|Eden Editor action]].
|descr= Returns state of given [[Eden Editor: Actions|Eden Editor action]].


|s1= [[get3DENActionState]]  action
|s1= [[get3DENActionState]]  action


|p1= action: [[String]] - See [[Eden Editor: Actions]]
|p1= action: [[String]] - see [[Eden Editor: Actions]]


|r1= [[Number]]
|r1= [[Number]]


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


|seealso= [[do3DENAction]]  
|seealso= [[do3DENAction]]  
}}
}}

Latest revision as of 15:49, 8 November 2023

Hover & click on the images for description

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