Fandom

武装突袭 Wiki

DifficultyEnabled

简体 | 繁體

4,827个页面创建
于此维基上
添加新页面
评论0 分享

您使用了广告屏蔽软件!


Wikia通过广告运营为用户提供免费的服务。我们对用户通过嵌入广告屏蔽软件访问网站进行了使用调整。

如果您使用了广告屏蔽软件,将无法使用我们的服务。请您移除广告屏蔽软件,以确保页面正常加载。

  

点击图片可看到更多讯息

开始使用于

游戏:
Armed Assault
版本:
1.05

描述

描述:
This command is deprecated since Arma 3 1.58. Since this version it always returns false. Use difficultyOption instead. See Arma 3 Difficulty Overhaul for further details.



Former functionality: Checks specific difficulty settings of the current user. Difficulty flag names can be found in the ArmA profile file under class Difficulties/xxx/Flags (xxx being regular or veteran).



Note: stress damage for some reason is a separate difficulty so difficultyEnabled "stressDamageEnabled" might not return correct set value. There are however 2 dedicated commands for it:


Note: auto trim is also for some reason a separate difficulty so difficultyEnabled "autoTrimEnabled" might not return correct set value. There are also 2 dedicated commands for it:

基本句法

句法:
difficultyEnabled flagName
参数:
flagName: String - difficulty flag name
返回值:
Boolean

范例

范例1:
hint str (difficultyEnabled "armor");

范例2:
List current difficulty settings: call { private ["_diff", "_cfg", "_flags", "_res"]; _diff = []; _cfg = configFile >> "CfgDifficulties"; { _flags = _cfg >> configName _x >> "Flags"; for "_i" from 0 to count _flags - 1 do { _diff pushBack configName (_flags select _i); }; } forEach ("true" configClasses _cfg); _diff = _diff arrayIntersect _diff; _diff sort true; _res = text ""; { _res = composeText [_res, parseText format [ "<t align='left'>%1 - %2</t>", _x, [0, 1] select difficultyEnabled _x ], lineBreak]; } forEach _diff; hint _res; };

额外资讯

多人游戏:
-
也可以看看:

difficultyOptiondifficultydifficultyEnabledRTDArma 3 Difficulty Menu

注意事项

此处撰写句法皆为可行用法. 可到官网[1]专页回报错误. 你可以使用讨论页面或是论坛来进行讨论.
新增注意事项 | 如何新增?

Notes

Posted on June 29, 2015 - 23:20 (UTC)
Killzone Kid
Arma 3 Flags:

  • 3rdPersonView
  • armor
  • autoAim
  • autoGuideAT
  • autoSpot
  • autoTrimEnabled
  • cameraShake
  • clockIndicator
  • deathMessages
  • enemyTag
  • extendetInfoType
  • friendlyTag
  • hud
  • hudGroupInfo
  • hudPerm
  • hudWp
  • hudWpPerm
  • map
  • mineTag
  • netStats
  • roughLanding
  • stanceIndicator
  • stressDamageEnabled
  • unlimitedSaves
  • vonID
  • weaponCursor
  • windEnabled

Crowe
Possible Values for Arma 2:

  • 3rdPersonView
  • armor
  • autoSpot
  • autoGuideAT
  • autoAim
  • allowSeagull
  • clockIndicator
  • deathMessages
  • enemyTag
  • friendlyTag
  • hud
  • hudPerm
  • hudWp
  • hudWpPerm
  • map
  • netStats
  • suppressPlayer
  • tracers
  • realisticFatigue
  • ultraAI
  • unlimitedSaves
  • weaponCursor

Bottom Section

更多维基

随机维基