Building Commands

Just like UNITs, BUILDINGs can execute commands, as specified in Table [*].


Table: Commands available to BUILDINGs.
Command Recur Length Target Description
Produce yes Tbl [*] adjacent CELLs Produce one FRU of the RESOURCE for the CELL occupied by the BUILDING and for every adjacent cell. Note: The Produce event should be scheduled separately for each affected cell.
Defend yes instant none Defend the BUILDING from attacks. In addition, while Defending, the BUILDING adds its defense value to the defense values of any UNITs in any adjacent CELLs.
Attack yes 8 UNIT or BUILDING Attack a UNIT or BUILDING within a radius of 2 CELLs of this BUILDING.
Spawn no 25 UNIT type Create a new UNIT. The new UNIT begins at the CELL occupied by the BUILDING.


The properties of BUILDING COMMANDs are the same as for UNIT COMMANDs (Section [*]). Like UNIT COMMANDs, the UI MUST offer a way to select BUILDINGs, targets, and COMMANDS, and must prevent the player from executing illegal COMMANDS.

Terran Lane 2005-11-10