A_BubbleCheck

From SRB2 Wiki
Jump to navigation Jump to search

A_BubbleCheck is an action that checks if the actor is underwater and sets it to be invisible if it is not. This is done with the Object flag MF2_DONTDRAW, which, if enabled, prevents the game from drawing the Object's sprite. If the actor is underwater, the flag is removed, making the Object visible; if the actor is not underwater, it is added, making the Object invisible. In SRB2, this action is used by the Air Bubble Patch.

  Actions – Checking [view]
A_BubbleCheckA_CheckAmbushA_CheckHealthA_CheckHeightA_CheckRandomA_CheckRangeA_CheckRingsA_CheckTargetRingsA_CheckThingCountA_CheckTotalRingsA_CheckTrueRangeA_ChickenCheckA_LookA_SearchForPlayers