Skip to content

TogglePower

Whether the player may switch this structure on and off.

Specification
Applies to
BuildingType
File
rules.ini
Section
[<ObjectType ID>]
Value
boolean
When omitted
yes

TogglePower=no stops the player switching the structure on or off with the power cursor. Switching a structure off lists the other tests the cursor applies.

It does not keep the structure switched on. The Turn off building trigger action and a scenario’s structure record can switch it off regardless, and the player then cannot switch it back on.

TogglePower=no also changes what a power shortfall does to a Powered=yes structure with drain:

  • The structure stays operational, so its powered animations and lights keep running.
  • Its weapons still cannot fire, and a SAM=yes launcher still stops tracking.

Defenses defines operational and sets these tests side by side.

See also — power