I’m trying to implement a chat system where I keep chat history and serverside functions inside GameState.
For now, the GS adds Yayyuh and each playercontrolled character adds a hello world line to the ChatHistory array in GS. When I call the variable from the GameMode bp to add debug text to screen it works :
https://i.imgur.com/MNU35kl.png https://i.imgur.com/kaP93JH.png
However the same variable only has the Yayyuh message inside the Chat widget:
https://i.imgur.com/Ofqpked.png https://i.imgur.com/nFwycR1.png
What am I missing here?
code in case you wanna check:
https://drive.google.com/drive/folders/1M1zcaHQZVL7geAmoC_xAcZ1YQwzjct4M?usp=sharing
Thanks!