mem setdifficulty
Change difficulty
Input:
1: String or Bool source ("mp" or "true", "sp" or "false")
2: String or Bool difficulty mode ("cadet" or "true", "veteran" or "false")
3: Array:
0 - Bool Extended armor
1 - Bool Friendly TAG
2 - Bool Enemy TAG
3 - Bool Extended HUD info
4 - Bool Auto report
5 - Bool Extended map info
6 - Bool Weapon crosshair
7 - Bool Auto guide AT
8 - Bool Clock indicator
9 - Bool 3rd person view
10 - Bool Rifle bullet tracers
11 - Bool Super AI
Output:
Nothing


Example:
loadFile Format [":mem setdifficulty %1 %2 %3", (playersNumber west+playersNumber east+playersNumber resistance+playersNumber civilian)>0, cadetMode, [true,true,false,false,"-","-","-",false,false,true,false,"-"]]


Description:
Modifies game difficulty settings in the memory. Second parameter does not make difference on client in multiplayer. Changes on client in MP last until you enter mission selection screen. Pass value different than bool in order to skip an option.
Purpose:
Program difficulty during the mission.


Version:
1.13
Demo:
Download
Source:
View


Topics:
What is Fwatch?
What's new?
Download & Startup

Presence Check
Using Commands
Input Commands Info
Animation Codes
Function & Script Library
Recommended Practices

Extras
Changelog
Source
Credits

Discuss Scripting
Post Request

Fwatch 1.16 Beta
Mod Manager