actionName: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|game([0-9])= *([^ ]+) * +\|version([0-9])= *([^ ]+) * " to "|game$1=$2 |version$3=$4 ")
m (Some wiki formatting)
 
(4 intermediate revisions by the same user not shown)
Line 14: Line 14:
|r1= [[String]]
|r1= [[String]]


|x1= <code>'''actionName''' "ReloadMagazine"; {{cc|Returns "Reload"}}</code>
|x1= <sqf>actionName "ReloadMagazine"; // returns "Reload"</sqf>


|seealso= [[inputAction/actions]], [[playAction]], [[playActionNow]]
|seealso= [[inputAction/actions]] [[playAction]] [[playActionNow]]
}}
}}

Latest revision as of 16:05, 13 May 2022

Hover & click on the images for description

Description

Description:
Returns localized name of action.
Groups:
Interaction

Syntax

Syntax:
actionName action
Parameters:
action: String
Return Value:
String

Examples

Example 1:
actionName "ReloadMagazine"; // returns "Reload"

Additional Information

See also:
inputAction/actions playAction playActionNow

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