Page 1 of 1

Auto Promotion of Generals

Posted: Mon Aug 06, 2012 11:59 pm
by Berge20
Anyone know if the auto promotions that are scripted also remove an experience star from the general, just as promoting him manually would do?

Thanks

Posted: Tue Aug 07, 2012 7:38 am
by Ethan
Hi Berge20,

In my current game, Lewis L. Wallace had an experience star and when he promoted to major general in early March 62, he still had that experience star. So in this case at least it is true. :)

Regards! :thumbsup:

Posted: Mon Aug 13, 2012 7:26 pm
by Berge20
Can confirm that no experience stars were taken away during auto promotion.

Posted: Mon Aug 13, 2012 7:41 pm
by Ethan
Berge20 wrote:Can confirm that no experience stars were taken away during auto promotion.


mmm... What a strange! :sherlock:

I checked it when you posted that and can assure Lewis Wallace kept his experience star when he promoted from brigadier general to mayor general. At least in my case. :)

Posted: Mon Aug 13, 2012 9:52 pm
by Captain_Orso
I looked up the promotion event.

Code: Select all

SelectFaction = $USA
SelectRegion = $Prince George's, MD
StartEvent = evt_nam_USA_62PromotionsF|1|1|NULL|NULL|$Prince George's, MD|NULL

Conditions
  MinDate = 1862/03/01
  MaxDate = 1862/12/31
  SelectSubUnits = Models $ldr_USA_LWallace
  EvalSubUnitCount = ;=;1

Actions
  SelectSubUnits = Models $ldr_USA_LWallace
  AltercuSubUnit = ApplyToList;Model $ldr_USA_LWallace2

EndEvent


It simply looks for a Brig.Gen. Lewis L. Wallace unit and if it finds it replaces the model with the Maj.Gen. model.

I wondered if the engine might do an automatic experience point reduction during this replacement, but there is a script parameter for doing that in the replacement command,

Code: Select all

<;ChgXPLevel Value> Change the Experience of the unit by Value :( Integer -999 to 999)


but it isn't used in any of the scripted promotions, so these leaders will definitely retain any experience points they may have gained when they are promoted per script.

Posted: Mon Aug 13, 2012 10:31 pm
by Ethan
Ah, Many thanks for the detailed explanation, Captain_Orso. That's very clarifier. ;)

Warm Regards! :wavey: