Linking a Date/time system?...the noob's back :P

Hello again, my question this time is how would i go about linking a real time/date system to my game? by that i mean so when its certain times of the day in real life then it would change and activate things in the game, (think pokemons day/night system) so only certain event would happen at certain hours or days such as christmas day events? i found a post stating theres a blueprint node for it now but can’t find it, also where exactly would i script it, in the level/gamemode/etc blueprint? i realize this is a bit of a vague question but any help would be most appreciated :slight_smile:

You can get current time and date using “Now” node,

it using DateTime type:

There is no alarm system buildin which would trigger events on time, you sould need to build it yourself. Either you make whole centralized system which would check array of alarms and see if one is trigger and call some event using event dispatcher, or just simply make in classes that needs it a timer that loops every 1 second and check time and do something.

Remember that system clock is not reliable, user can change it as they like so i would not depends game advancement on it, which you could say the same about pretty much all data that comes from user machine. Only way to keep it on guard is to run game instance on server outside of user reach to spoof any data

i think i get it, see im not worried if the user changes the date on there computer and by proxy change the date in game, but does that mean i would have the ‘now’ node linked to to say a ‘getdayoftheyear’ copied 365 times for each daily event?