Python event

I don't believe so although you should be able to preserve the results of CyPlayer.getCurrentEra() or CyGame.getCurrentEra() and run a check for a change inside another event handler such as onTechAcquired (would happen less often than a per-turn check)
 
onTechAcquired (would happen less often than a per-turn check)

And would be more correct as checking between turns won't detect techs acquired by trade. This would make a handy addition to BUG. :)

Does the DLL trigger the era splash screen?
 
Does the DLL trigger the era splash screen?
Looks like it. Qutoing CvPlayer::setCurrentEra()
Code:
		if (isHuman() && (getCurrentEra() != GC.getGameINLINE().getStartEra()) && !GC.getGameINLINE().isNetworkMultiPlayer())
		{
			if (GC.getGameINLINE().isFinalInitialized() && !(gDLL->GetWorldBuilderMode()))
			{
				CvPopupInfo* pInfo = new CvPopupInfo(BUTTONPOPUP_PYTHON_SCREEN);
				if (NULL != pInfo)
				{
					pInfo->setData1(eNewValue);
					pInfo->setText(L"showEraMovie");
					addPopup(pInfo);
				}
			}
		}
 
Top Bottom