Need help with plugins or servers? Join our Discord

Modding Database

Up to date with Steam · checked 13s ago· Viewing build 6701 (Sep 25 2026), not the latest

difficulty_changed

game event

Declared in core.gameevents

Not named anywhere in the server, client or engine binaries. It may be fired by scripts, or not at all.

Deadworks (C#), as DifficultyChangedEvent
[GameEventHandler("difficulty_changed")]
public HookResult OnDifficultyChanged(DifficultyChangedEvent args) {
	// args.NewDifficulty, args.OldDifficulty, args.StrDifficulty
	return HookResult.Continue;
}

Fields

FieldTypeDeadworks propertyValve's comment
newDifficultyshort
NewDifficulty int
oldDifficultyshort
OldDifficulty int
strDifficultystring
StrDifficulty string
new difficulty as string

History

  1. 6696–6745first dumped