actionName: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
m (Some wiki formatting)
 
Line 14: Line 14:
|r1= [[String]]
|r1= [[String]]


|x1= <sqf>'''actionName''' "ReloadMagazine"; // Returns "Reload"</sqf>
|x1= <sqf>actionName "ReloadMagazine"; // returns "Reload"</sqf>


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

Latest revision as of 17: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