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

ChgAutoRaise

From AGEWiki

(Difference between revisions)
Jump to: navigation, search
(Created page with '{{ scriptcommand | name =ChgAutoRaise | type = | cat = | syntax = UnitAlias{{!}}MaxNb{{!}}DismissPerc | description =Change the AutoRaise parameters for a unit type :See [[ChgAut…')
m
 
Line 5: Line 5:
| syntax = UnitAlias{{!}}MaxNb{{!}}DismissPerc
| syntax = UnitAlias{{!}}MaxNb{{!}}DismissPerc
| description =Change the AutoRaise parameters for a unit type
| description =Change the AutoRaise parameters for a unit type
-
:See [[ChgAutoRaise]]
+
:See [[SetAutoRaise]]
| example =$uni_AME_Reb1{{!}}3{{!}}-10
| example =$uni_AME_Reb1{{!}}3{{!}}-10
| example-description = The "base" maximum of AME_Reb1 units will be increased by 3.  The base chance of disband at year end is reduced by 10%.
| example-description = The "base" maximum of AME_Reb1 units will be increased by 3.  The base chance of disband at year end is reduced by 10%.

Latest revision as of 12:09, 13 May 2010

ChgAutoRaise

Syntax  

ChgAutoRaise = UnitAlias|MaxNb|DismissPerc

Description

Change the AutoRaise parameters for a unit type

See SetAutoRaise

Example  

ChgAutoRaise = $uni_AME_Reb1|3|-10

The "base" maximum of AME_Reb1 units will be increased by 3. The base chance of disband at year end is reduced by 10%.

NB: "Base" is the value prior to modifiers. See AutoRaise
Also note that if the "Base" max quantity results in value = 0 or less, then AutoRaise is turned "off" for this unit.


 

Parameters

UnitAlias

Valid Unit alias

MaxNb

Change to the Base maximum quantity on map

Integer (-999 to 999)
DismissPerc

Change in Percent chance to disband at year end

Integer (-100 to 100)
Forums