# Shooter Game (Find game load and game update)

**URL:** <https://forums.unrealengine.com/t/shooter-game-find-game-load-and-game-update/350537>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [March 14, 2016, 10:11pm UTC](https://forums.unrealengine.com/t/shooter-game-find-game-load-and-game-update/350537 "2016-03-14T22:11:50Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![Groatse](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Groatse](https://forums.unrealengine.com/u/Groatse)\
**Post date:** [March 17, 2016, 3:32am UTC](https://forums.unrealengine.com/t/shooter-game-find-game-load-and-game-update/350537/7 "2016-03-17T03:32:34Z")

</div>

You mean print a debug message on screen or to output log? Easiest is to add the following line to your code to see if your functions even run:

`GEngine->AddOnScreenDebugMessage(-1, 15.0f, FColor::Red, “debug msg”);`

You can check also Rama’s debug guide for other types of debugging (including onscreen messages that display variable values etc.):

> **[A new, community-hosted Unreal Engine Wiki](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — ue4community.wiki! You will be able to find content from the official...

For multiplayer debugging this might be a no brainer for you, but I’ll still write it:  
With a multiplayer game, it’s best to always test as multiplayer - ie, put number of players to two and also run a test with the dedicated server ticked. I’ve found that most of my stuff usually works on either server or client, and about 50% of my issues that I’ve encountered with Shootergame has been me not doing replication correctly or not understanding who runs which code.

---

_[View the full topic](https://forums.unrealengine.com/t/shooter-game-find-game-load-and-game-update/350537)._
