Go to the first, previous, next, last section, table of contents.

Side and Player Forms

Form: side [id] properties...

This form has the effect of declaring a side to exist. If the number or symbol id is supplied and matches that of a side that has already been created, then the properties will modify the pre-existing side. Otherwise a new side object will be created, with a arbitrarily-chosen numeric id ranging between 1 and sides-max. If the given id is a symbol, then the side's numeric id will be bound to that symbol.

GlobalVariable: sides-min n

GlobalVariable: sides-max n

These variables are the minimum and maximum number of sides that may exist in a game. Defaults are to 1 and the internal parameter MAXSIDES, which is usually around 7. MAXSIDES can only be changed by recompiling Xconq.

Form: side-defaults properties...

This form sets the defaults for all newly-created sides declared subsequently. These defaults will be set before the new side's properties are interpreted. This form has no effect on existing sides or on side declarations that modify existing sides.


Go to the first, previous, next, last section, table of contents.