GetMaxHealth (Actor)
Jump to navigation
Jump to search
virtual clearscope int GetMaxHealth [(bool withupgrades)] const
Usage
Retrieves the spawn health of the calling actor. This behaves exactly like the SpawnHealth function.
This function is overridden by the PlayerPawn class.
Parameters
- withupgrades: the function does not make any use of this parameter. Default is false.
Return value
The health the actor spawns with, as an integer.
Examples
![]() |
Note: This article lists no examples. If you make use of this feature in your own project(s) or know of any basic examples that could be shared, please add them. This will make it easier to understand for future authors seeking assistance. Your contributions are greatly appreciated. |