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

SetRevoltersInfos

From AGEWiki

(Difference between revisions)
Jump to: navigation, search
 
Line 2: Line 2:
| name = SetRevoltersInfos
| name = SetRevoltersInfos
| syntax = ''UnitAlias''; ''CityRaiseChance''; ''DismissChance''; ''ConvertChance''
| syntax = ''UnitAlias''; ''CityRaiseChance''; ''DismissChance''; ''ConvertChance''
-
| description = Initializes various values related to partisans/insurgents. Partisans can rise when a side controls a region, but Loyalty favors the opponent, and no friendly combat units are in the region.
+
| description = Initializes various values related to partisans/insurgents. Partisans can rise when a side controls a region containing a city, but Loyalty favors the opponent, and no friendly combat units are in the region.
| example = $uni_USA_Par;15;35;50
| example = $uni_USA_Par;15;35;50
| example-description = Will use ''$uni_USA_Par'' for partisans raised, with 15% chance to raise, 35% chance to disband in ensuing turns, and 50% chance to convert (???).
| example-description = Will use ''$uni_USA_Par'' for partisans raised, with 15% chance to raise, 35% chance to disband in ensuing turns, and 50% chance to convert (???).

Latest revision as of 12:12, 22 April 2010

SetRevoltersInfos

Syntax  

SetRevoltersInfos = UnitAlias; CityRaiseChance; DismissChance; ConvertChance

Description

Initializes various values related to partisans/insurgents. Partisans can rise when a side controls a region containing a city, but Loyalty favors the opponent, and no friendly combat units are in the region.

Example  

SetRevoltersInfos = $uni_USA_Par;15;35;50

Will use $uni_USA_Par for partisans raised, with 15% chance to raise, 35% chance to disband in ensuing turns, and 50% chance to convert (???).


 

Parameters

UnitAlias

String; Unit Alias; Unit type used for partisans

CityRaiseChance

Integer (1-100);

DismissChance

Integer (1-100);

ConvertChance

Integer (1-100);

Forums