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

ChangeStrucType

From AGEWiki

Jump to: navigation, search

ChangeStrucType

Syntax  

ChangeStrucType = <OldStrucDef>;<NewStrucDef>[;FP][;REGorAREA_AreaUID

Description

Replace the "old" structure with a "new" structure in a specified Region or Area

Example  

ChangeStrucType = $Village; $Fort; REG $Oswego

In Region $Oswego, replace a Village with a Fort

Note: It is best to first check to be sure a structure exists by using EvalRgnStruc


 

Parameters

<OldStrucDef>

The structure to be replaced. Defined by appropriate Structure Alias

<NewStrucDef>

The new structure. Defined by appropriate Structure Alias

[FP]

[VGN Only] Optional parameter: Structure Force Pool

Must be NULL in non-VGN games
[REGorAREA_AreaUID]

Optional parameter: If REG then a valid Region Alias must be specified. If AREA then a valid Area Alias must be specified. If not specified, the currently selected Region or Alias is used.

Forums