actionName: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<code>([^ ]*)\{\{cc\|([^ ]*)\}\}([^ ]*)<\/code>" to "<code>$1// $2$3</code>")
m (Some wiki formatting)
 
(One intermediate revision by the same user not shown)
Line 14: Line 14:
|r1= [[String]]
|r1= [[String]]


|x1= <code>'''actionName''' "ReloadMagazine"; // 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