difficultyOption: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " {2,}\}\}" to " }}") |
Lou Montana (talk | contribs) m (Text replacement - "{{Command " to "{{RV|type=command ") |
||
Line 1: | Line 1: | ||
{{ | {{RV|type=command | ||
| arma3 | | arma3 |
Revision as of 23:57, 22 January 2021
Description
- Description:
- Description needed
- Groups:
- Difficulty
Syntax
- Syntax:
- Syntax needed
- Parameters:
- optionName: String - difficulty option name
- Return Value:
- Return value needed
Examples
- Example 1:
hint str (difficultyOption "friendlyTags");
- Example 2:
- Remember last cameraView per vehicle:
player addEventHandler ["GetOutMan", { params ["_unit", "_role", "_vehicle", "_turret"]; _unit setVariable [_vehicle call BIS_fnc_netId, cameraView]; }]; player addEventHandler ["GetInMan", { if (difficultyOption "thirdPersonView" == 2) then { params ["_unit", "_role", "_vehicle", "_turret"]; _unit switchCamera (_unit getVariable [_vehicle call BIS_fnc_netId, "INTERNAL"]); }; }];
Additional Information
- See also:
- See also needed
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
- Posted on March 23, 2016 - 19:06 (UTC)
- Muf
-
Arma 3 options:
- reducedDamage
- groupIndicators
- friendlyTags
- enemyTags
- detectedMines
- commands
- waypoints
- weaponInfo
- stanceIndicator
- staminaBar
- weaponCrosshair
- visionAid
- thirdPersonView
- cameraShake
- scoreTable
- deathMessages
- vonID
- mapContent
- autoReport
- multipleSaves