Returns the maximum amount of life the player can have. This is normally the value of the "life" parameter in the [Data] group of the player variables, but may be different in situations such as team modes.

Format: LifeMax

Arguments:

Return type: int

Error conditions: none

Example:

trigger1 = life < lifemax / 4
; Triggers if the player has less than 1/4 of his maximum life.