difficultyOption: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{uc:{{PAGENAME}}}} " to "")
m (Text replacement - " " to " ")
Line 15: Line 15:


| [[Number]]
| [[Number]]
 
 
|x1= <code>[[hint]] [[str]] ([[difficultyOption]] "friendlyTags");</code>
|x1= <code>[[hint]] [[str]] ([[difficultyOption]] "friendlyTags");</code>
|x2= Remember last [[cameraView]] per vehicle:<code>[[player]] [[addEventHandler]] ["GetOutMan",  
|x2= Remember last [[cameraView]] per vehicle:<code>[[player]] [[addEventHandler]] ["GetOutMan",  

Revision as of 21:02, 10 June 2021

Hover & click on the images for description

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:
difficultydifficultyEnabledRTDArma 3: Difficulty SettingsmissionDifficulty

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