A_CheckTrueRange

From SRB2 Wiki
Jump to navigation Jump to search

A_CheckTrueRange is an action that calls the state specified by Var2 if the total distance (in all three dimensions) between the actor and its target or tracer is less than or equal to the value determined by the lower 16 bits of Var1 (in fracunits). If the upper 16 bits of Var1 are 0, the target is used; if they are 1, the tracer is used. If the Z dimension should be ignored in the distance calculation, use A_CheckRange instead.

This action originates from the v2.0 modification SRB2Morphed and was added to SRB2 itself in v2.1.

  Actions – Checking [view]
A_BubbleCheckA_CheckAmbushA_CheckHealthA_CheckHeightA_CheckRandomA_CheckRangeA_CheckRingsA_CheckTargetRingsA_CheckThingCountA_CheckTotalRingsA_CheckTrueRangeA_ChickenCheckA_LookA_SearchForPlayers