Page 1 of 1

Event message shown twice

Posted: Sat Feb 29, 2020 10:38 am
by PanzerMike
I am tinkering with custom events. I made this:
//Turkey joins axis for testing purposes
$ChangeEntry
if_Date=9/1/1939
if_Country=53
if_Alliance=Neutral
lifespan=tillTrigger
entryShift=-200
actionCountry=6
targetCountry=53
addReportTo=All
text=Turkey joins the Axis
$End

It works like a charm, however the message is shown twice (this is in the Allied turn):
Image

And this is in the German turn:
Image

Why is that? Bug or is my event no good?

RE: Event message shown twice

Posted: Sat Feb 29, 2020 2:09 pm
by AlvaroSousa
Thanks Ill take a look.

RE: Event message shown twice

Posted: Sat Feb 29, 2020 2:09 pm
by AlvaroSousa
Which scenario?

RE: Event message shown twice

Posted: Sat Feb 29, 2020 3:18 pm
by PanzerMike
Oh I just added this self made event to the _events.txt of the 1939 scenario. It fires on the first turn after turn resolution. And it works as designed, I just don't get it why the message is displayed twice. Perhaps I should have posted this in the modding forum, but I know you frequent the beta forum more often, sorry [:D] But then again, I may have stumbled on a small bug, so...

RE: Event message shown twice

Posted: Sat Feb 29, 2020 11:33 pm
by AlvaroSousa
Well there is a script in the events that fires exactly the same way if Baku is taken.