March 2019
Intermediate to advanced
708 pages
17h 9m
English
The GetOwningPawn method will return a pointer to the Pawn class the HUD is attached to. We cast that to our custom character-derived class and then can access the properties that the class has. In our case, we are using the variable that we previously added a Replicated tag to, which allows the HUD to update properly, depending on which screen we are using.
Read now
Unlock full access