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

ChangeLoyaltyFac

From AGEWiki

Revision as of 09:54, 21 April 2010 by Pocus (Talk | contribs)
Jump to: navigation, search

ChangeLoyaltyFac

Syntax  

ChangeLoyaltyFac = [Area]; Value

Description

Changes the loyalty in the selected region (if no area given) or area for the selected faction.

Example  

ChangeLoyaltyFac = 10

Increases loyalty in the selected region by 10% (the region will be the last one specified with SelectRegion)  

ChangeLoyaltyFac = $Northern_Texas;-50

Reduces the loyalty in all regions in the area "Northern Texas" by 50%.

 

Parameters

Area

String; Alias of an area

Value

Integer; Value in percent for the loyalty change

Note: The code knows if it has to act on a region or an area by looking at the number of parameters. One param = act on a region. Two: act on an area.
Forums