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

SetColStatus

From AGEWiki

(Difference between revisions)
Jump to: navigation, search
(Created page with '{{ scriptcommand | name = SetColStatus | type = | cat = | syntax = <ColAreaUID>;<Status> . | description = Sets the status of a given colonial area (…')
 
Line 3: Line 3:
| type =
| type =
| cat =
| cat =
-
| syntax = <ColAreaUID>;<Status>                              .
+
| syntax = <RgnUID>;<Status>                               
-
| description = Sets the status of a given colonial area (as per the list in GameData\ColonialAreas.ini).
+
| description = Sets the status of a given colonial region(as per the list in GameData\ColonialAreas.ini). If the region is not colonial, then nothing will happen. The capital region of a colonial area governs the status of all regions generally.
See also [[EvalColStatus]]
See also [[EvalColStatus]]
Line 11: Line 11:
| example2 =
| example2 =
| example2-description =
| example2-description =
-
| param1 = <ColAreaUID>;
+
| param1 = <RgnUID>;
-
| param1desc = Valid [[Area]] [[Alias]]  
+
| param1desc = Valid [[Region]] [[Alias]]  
| param2 = <Status>
| param2 = <Status>
| param2desc = Valid value of status, as defined in ''GameData\ColonialAreas.ini''
| param2desc = Valid value of status, as defined in ''GameData\ColonialAreas.ini''

Latest revision as of 08:07, 12 May 2011

SetColStatus

Syntax  

SetColStatus = <RgnUID>;<Status>

Description

Sets the status of a given colonial region(as per the list in GameData\ColonialAreas.ini). If the region is not colonial, then nothing will happen. The capital region of a colonial area governs the status of all regions generally.

See also EvalColStatus



 

Parameters

<RgnUID>;

Valid Region Alias

<Status>

Valid value of status, as defined in GameData\ColonialAreas.ini

Valid values for VGN are:
$colUnknown = -3
$colWild = -2
$colUnclaimed = -1
$colInfluenced = 0
$colProtectorate = 1
$colColony = 2
$colDominion = 3
$colVassal = 3
Forums