i wanna do some stuff with the current date and hour from a campaign, i thought that XComGameState_TimerData was supposed to be that, but it seems to be the timer from missions.
help
EDIT:
nvm found out how:
first you create the variable:
Code: Select all
local TDateTime currentdate;
but if you add this
Code: Select all
currentdate= `STRATEGYRULES.GameTime;
you can also get the date in days (currentdate.m_iDay), months(currentdate.m_iMonth) and years(currentdate.m_iYear)