Due to a sudden burst in spammer activity, account creation has been temporarily disabled. Sorry for the inconvenience to any new potential contributors.

RemoveStructure

From AGEWiki

Jump to: navigation, search

RemoveStructure

Syntax  

RemoveStructure = SelectionType; ALL_OR_RANDOM_KEYWORD; ANYFAC_OR_SINGLEFAC_KEYWORD

Description

Remove one or more structures of a given region.

Example  

RemoveStructure = ByDefUID $Harbor;ALL;ANYFAC

Will remove all harbors in the selected region belonging to any faction.  

RemoveStructure = ByAttrib *MyCustomAttrib*;ALL;ANYFAC

Will remove all structures from any faction in the region which have the attribute *MyCustomAttrib*, as specified in the Structures DB.  

RemoveStructure = ByKind $stuProdSite;RANDOM;SINGLEFAC

Will remove one production structure at random (a mine, an industry…) from the selected faction in the region.

 

Parameters

SelectionType

One of

ByDefUID = Valid Structure Alias
ByAttrib = Structures with a defined Attribute
ByKind = One of:
$stuAny =-1
$stuHarbor = 0
$stuFort = 1
$stuCity = 2
$stuDepot = 3
$stuProdSite = 4
$stuVarious = 5
ALL_OR_RANDOM_KEYWORD

One of

ALL = All structures
RANDOM = Randomly select one structure
ANYFAC_OR_SINGLEFAC_KEYWORD

One of

ANYFAC = any currently selected faction
SINGLEFAC = Currently selected Faction
Forums