Hello all,
I am learning to create games in UT4 by creating a RTS.
I want to add clock that shows play time, however, I have problem getting values in HUD. I tried to do it as shown in pic. below, but it shows literally nothing.
Clock it self is designed in GameStateBase and is functional 100%.
I tried to design and implement it similarly from CameraPawnController and that way it functions properly, but it doesn’t seem right to put it there. Also, I got other project, where I followed closely online tutorial and I can implement clock from GameStateBase there. Tried to find what’s the difference, but found none! Also went through GameModeBase settings - couldn’t find what’s wrong!
GameStatebase parameters in pic below.
Also, from my experiments I came to conclusion, that input events won’t work in GameState - is this correct?
Please let me know where problem may be, I don’t want to proceed with not knowing.
Thanks in advance!
Best regards,
Lidzs