A_CheckHealth
Jump to navigation
Jump to search
A_CheckHealth is an action that calls a state depending on the actor's current health. Var1 determines the highest amount of health points to allow the state to be called with – i.e. if the actor's health is less than or equal to Var1, the state is called. Var2 determines the state to call when this action is successful; see List of states for a full list. In SRB2, this action is used by Brak Eggman to trigger the destruction of the bordering walls in ERZ3 when in pinch phase (health <= 3).
This action originates from the v2.0 modification SRB2Morphed and was added to SRB2 itself in v2.1.
|
Actions – Checking | [view] | |
A_BubbleCheck • A_CheckAmbush • A_CheckHealth • A_CheckHeight • A_CheckRandom • A_CheckRange • A_CheckRings • A_CheckTargetRings • A_CheckThingCount • A_CheckTotalRings • A_CheckTrueRange • A_ChickenCheck • A_Look • A_SearchForPlayers |