Skip to content

SimulateWhileUnfocused

Added in 0.2.0Changed in 0.2.0

Keeps a campaign or skirmish running while another program has the focus.

Specification
Applies to
client settings
File
SUN.INI
Section
[Options]
Value
boolean
When omitted
no

By default, a campaign or skirmish pauses when its window loses the focus and resumes when the window gets the focus back. SimulateWhileUnfocused=yes keeps it running instead.

A game running without the focus plays no sound, takes no input and does not redraw the view. The simulation continues: production finishes, harvesters keep working and computer players keep playing.

The setting does not affect network games, which always keep running without the focus.

The game reads the setting only at startup.

See also — ToolTips, AltToRally

History

  1. Added0.2.0In development

    Keep a solo game running while the window is away

  2. Changed0.2.0In development

    Hold every game speed to a frame rate