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

BlockState

From AGEWiki

Jump to: navigation, search

BlockState

Syntax  

BlockState = Value [;<AreaAlias>]

Description

Sets the accessibility ("This region cannot be entered in this scenario" messages) for the currently selected region or area

Note: If an unlocked unit attempts to arrive (by event, etc) in a region with
Blockstate = 1 or 2, the game engine attempts to find a valid region within
3 regions distance.  If no valid region is found, the unit(s) will be destroyed.
A unit arriving "locked" (fixed duration not = 0) will be placed in the blocked region.

Example  

BlockState = 0

Current region is unblocked, fully available for play  

BlockState = 0 ; $New_England

All regions in the area $New_England are unblocked, available for play.

 

Parameters

Value

Integer (0, 1 or 2)

Blockstate = 0 is unblocked
Blockstate = 1 is blocked, but still shows detailed tooltip information about the region (control, supply, etc.)
Blockstate = 2 is completely blocked with no detailed tooltip information shown
[<AreaAlias>]

Optional. A valid Area Alias.

Forums