Re: Code time/day

#6
Cry-miron, tell two of them, if you don't know tell what you know. It could be quick in terms of finding a solution. Otherwise subject can be prolonged. This forum isn't like facebook's inbox, you know.
Please keep it civil and show respect to everyone participating in a conversation, especially our developers. They are coming back to your feedback and problems in their downtime from work - helping out here is going the extra mile because they care a lot for our community. It isn't their main task, so answers might take a while.
Nic
CRYENGINE Community Developer

I'm manning the CRYENGINE stations on Facebook & Twitter as well, so come and say hi!
My personal Twittering may contain nuts.

Get to know me.

Re: Code time/day

#8
Just for those who find this thread in the future:

c# Current Time:
DateTime.Now

c# (Cryengine 5.5) Current Time of Day (will return a float value ):
(I only tested it in c++)
Engine.Engine3D.GetTimeOfDay().GetTime()

c++ (ce 5.3)
ITimeOfDay* pTOD = gEnv->p3DEngine->GetTimeOfDay();
pTOD->GetTime()

Who is online

Users browsing this forum: No registered users and 2 guests