lukasberger wrote:I just found the file 1850GRC_LeadersSystem. Does this control the amount of leaders allowed? Does anyone know what's represented by this file? It looks like this:
SelectFaction = $GBR
ChangeLeadersPool = 1;5
ChangeLeadersPool = 2;7
ChangeLeadersPool = 3;4
ChangeLeadersPool = 11;0
ChangeLeadersPool = 12;7
ChangeLeadersPool = 13;6
SelectFaction = $FRA
StartEvent = evt_nam_FPW_MacMahon_FRA|0|0|NULL|NULL|NULL|NULL
Conditions
MinDate = 1870/09/01
EvalEvent = evt_nam_FPW_FallOfEmpire;>=;3
Probability = 50
SelUnqUnit = Patrice de Mac-Mahon
Actions
SelUnqUnit = Patrice de Mac-Mahon
RemoveCuUnit
GenMsg
EndEvent
lukasberger wrote:Can anyone help me out with the proper syntax to create an event to kill a leader? I've tried to slightly modify events both from RUS and BOA2 to kill leaders but haven't been able to get them to work. They trigger but the leader doesn't die. This is what I have now:
SelectFaction = $GBR
SelectRegion = $$Anglia
StartEvent = evt_nam_GBR_Generals_GBR_Retirement|1|1|evt_nam_GBR_Generals_GBR_Retirement|Event-img_GBR_Chief|$Anglia|NULL
Conditions
FixedDate = 1850/01/16
EvalUnqUnit = Charles J. Napier
Actions
SelUnqUnit = Charles J. Napier
RemoveCuSubUnit = = Charles J. Napier
Apply
EndEvent
Napier isn't in Anglia, he's in Calcutta but I'm trying to make the event kill a leader wherever they are, not only if they're in a specific province.
lukasberger wrote:Using this now. But the event still doesn't fire. There's no record of it in the log and Napier's still sitting in Calcutta.
SelectFaction = $GBR
StartEvent = evt_nam_GBR_Generals_GBR_Retirement|0|0|NULL|NULL|NULL|NULL
Conditions
FixedDate = 1850/01/16
SelUnqUnit = Charles J. Napier
Actions
SelUnqUnit = Charles J. Napier
RemoveCuUnit
GenMsg
EndEvent
Users browsing this forum: No registered users and 17 guests