Page 1 of 1
Spanish Ulcer Problem
Posted: Mon Feb 15, 2016 5:00 pm
by vicberg
The Common evt_nam_CMN_ENTREVUE_DE_BAYONNE kicks off in 1807 and turns on the Entrevue De Bayonne Option to the French Player. This can be clicked at any point by the French Player.
Then in mid-1807, The Charles VII abdicates event fires which turns back on the Entrevue De Bayonne Option.
This means the option may be clicked by the French player (or AI) and then turned back on again and selected a second time.
Posted: Mon Feb 15, 2016 5:03 pm
by vicberg
Ignore, I see the chain of events.
Abdication of Charles fires off a common event that turns on the Entrevue De Bayonne event.
Posted: Mon Feb 15, 2016 5:53 pm
by vicberg
I do think I found a problem
This event starts the process
[color="#FFA500"]StartEvent = evt_nam_SPA_CharlesVIIAbdication|0|2|evt_txt_SPA_CharlesVIIAbdication|Event-Img_SPA_MotinAranjuez1808|$Aranjuez|NULL
Conditions
MinDate = 1807/12/31
SelectFaction = FRA
SelectFaction = FRA
EvalIsAtPeaceWith = SPA
Actions
SelectFaction = SPA
SelectFaction = SPA
SetEvtOccurs = evt_nam_SPA_Fernando78King1808;MaxOccurs;1
SetEvtOccurs = evt_nam_CMN_ENTREVUE_DE_BAYONNE;MaxOccurs;1
EndEvent[/color]
Which kicks off this event
[color="#FFA500"]StartEvent = evt_nam_CMN_ENTREVUE_DE_BAYONNE|0|2|evt_txt_FRA_ENTREVUE_DE_BAYONNE|Event-Img_CMN_TreatyOfBayonne1808|$Bayonne|NULL
Conditions
MinDate = 1807/01/01
SelectFaction = FRA
EvalIsAtPeaceWith = SPA
Actions
SetEvtOccurs = evt_nam_FRA_ENTREVUE_DE_BAYONNE_On;MaxOccurs;1
SelectFaction = SPA
ChgFacRelationships = FRA;-25
EndEvent[/color]
Which turns on the Military Option for France
[color="#FFA500"]SelectFaction = FRA
StartEvent = evt_nam_FRA_ENTREVUE_DE_BAYONNE_On|0|0|NULL|NULL|NULL|NULL
Conditions
MinDate = 1807/01/01
EvalIsAtPeaceWith = SPA
Actions
SetActorPool = $gmaOptionMil;MaxUse;1;ImageID;Event-Img_Opt_EndOfBourbonSpain.png;Money;0;WSU;0;EP;10;Title;opt_title_ENTREVUE_DE_BAYONNE;MsgString;opt_desc_ENTREVUE_DE_BAYONNE;ToolString;opt_hint_ENTREVUE_DE_BAYONNE;SubType;FRA_ENTREVUE_DE_BAYONNE
GenTextMsg = opt_notify_NewMilFMOption;1;NULL;NULL;NULL
SetEvtOccurs = evt_nam_FRA_ENTREVUE_DE_BAYONNE_Off;MaxOccurs;1
EndEvent[/color]
But the the Bayonne OFF event kicks off, which seems to be shutting off the Option that was just turned on, unless I'm missing something
[color="#FFA500"]StartEvent = evt_nam_FRA_ENTREVUE_DE_BAYONNE_Off|0|0|NULL|NULL|NULL|NULL
Conditions
MinDate = 1807/01/01
EvalIsAtPeaceWith = SPA
Actions
SetActorPool = $gmaOptionMil;MaxUse;0;SubType;FRA_ENTREVUE_DE_BAYONNE
SelectFaction = SPA
ChgFacRelationships = FRA;50
SelectFaction = FRA
ChgVPCount = -200
EndEvent[/color]