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

(Difference between revisions)
Jump to: navigation, search
(add Area parameter)
m
 
Line 3: Line 3:
| type =
| type =
| cat =
| cat =
-
| syntax = Value [;Area]  
+
| syntax = Value [;<AreaAlias>]  
| description =Sets the accessibility ("This region cannot be entered in this scenario" messages) for the currently selected [[region]] or [[area]]
| description =Sets the accessibility ("This region cannot be entered in this scenario" messages) for the currently selected [[region]] or [[area]]
Line 20: Line 20:
:''Blockstate = '''1''''' is blocked, but still shows detailed tooltip information about the region (control, supply, etc.)
:''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
:''Blockstate = '''2''''' is completely blocked with no detailed tooltip information shown
-
| param2 = [Area]
+
| param2 = [<AreaAlias>]
| param2desc = Optional. A valid Area Alias.
| param2desc = Optional. A valid Area Alias.
| param3 =  
| param3 =  

Latest revision as of 11:13, 5 September 2012

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