点击图片可看到更多讯息
开始使用于
- 游戏:
- Armed Assault
- 版本:
- 1.00
描述
- 描述:
- Returns a list of button names assigned to the given user action. You can find the action names in config class ControllerSchemes or user action names.
基本句法
替代句法
- 句法:
- actionKeysNames [userAction, maxKeys]
- 参数:
- [userAction, maxKeys]: Array
- UserAction: String
- maxKeys: Number - Maximum number of keys to return
- 返回值:
- String
替代句法2
- 句法:
- actionKeysNames [userAction, maxKeys, inputDevicePriority] (Since Arma 3 v1.35.127928)
- 参数:
- [userAction, maxKeys, inputDevicePriority]: Array
- UserAction: String
- maxKeys: Number - Maximum number of keys to return
- inputDevicePriority: String - Result sorted by inputDevicePriority with values 'Mouse','Keyboard','Stick','Gamepad','Trackir','Combo' (mouse and keyboard combinations),'Controler' (any controller other than mouse or keyboard). Other values are considered as 'Unsorted'.
- 返回值:
- String
范例
- 范例1:
_list = actionKeysNames "ReloadMagazine"; //"R"
额外资讯
- 多人游戏:
- -
- 也可以看看:
- actionKeysactionKeysImagesactionKeysNamesArray
注意事项
Notes
- Posted on 20:14, 20 January 2010 (CET)
- kju
- The return type is a stacked string. A string inside a string. To compare use first single and inside double quotes:
if ((actionKeysNames "User1") == '"W"') then ...
Bottom Section
- Posted on October 26, 2014 - 11:26 (UTC)
- Killzone Kid
- inputDevicePriority 'Controler' is not a spelling mistake in description.