Lee lost order event
Posted: Sun Nov 18, 2007 10:50 am
Just a question:
is someone able to explain me how the Leelost order event is working?
is someone able to explain me how the Leelost order event is working?
Discussion forum about the wargames Birth of America, AACW, Ageod games and strategy games in general
http://ageod-forum.com/
Code: Select all
StartEvent = evt_nam_USA_TheLostOrder1862|0|2|evt_txt_USA_TheLostOrder1862|Event-img_CMN_LeeLostOrder1862|$Prince George's, MD|NULL
Code: Select all
StartEvent = evt_nam_CSA_LeeLostOrder1862|1|2|evt_txt_CSA_LeeLostOrder1862|Event-img_CMN_LeeLostOrder1862|$Richmond, VA|127
Conditions
MinDate = 1862/09/13
MaxDate = 1863/01/01
Probability = 50
Actions
DescEvent = evt_desc_CSA_LeeLostOrder1862
SelectFaction = $CSA
SelUnqUnit = Robert E. Lee
SelectFaction = $USA
SelectFaction = $USA
CreateGroup
Posture = $Defensive
SetKind = $Land
Entranch = 0
InCS = 0
FixType = 999
SetName = Margaret Mitchell
Apply
CreateUnit
SetType = $uni_CSA_Scarlett
FlavorName = Margaret Mitchell
SUFlavorName = Margaret Mitchell
SetLevel = 1
SetName = Margaret Mitchell
Apply
EndEvent
Code: Select all
StartEvent = evt_nam_CSA_LeeLostOrder1862End|1|0|NULL|NULL|$Richmond, VA|127
Conditions
MinDate = 1862/10/01
MaxDate = 1863/01/01
EvalEvent = evt_nam_CSA_LeeLostOrder1862;=;1
EvalUnqUnit = Margaret Mitchell
Actions
SelUnqUnit = Margaret Mitchell
RemoveCuUnit
GenMsg
EndEvent
Primasprit wrote:The question is now: Does the command SelUnqUnit also work as a region-selector?
If this is not the case the spy-unit would be created in the wrong place, in $Richmond, VA.
Cheers
Norbert
Pocus wrote:You can find the answer by looking in the code of TScriptEngine.SelectUniqueUnit, you privileged man!![]()