A_CheckTrueRange
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_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 |