Jump to content

A_SearchForPlayers

From SRB2 Wiki

A_SearchForPlayers is an action that checks if the actor has targeted a vulnerable player, i.e. a player with the MF_SHOOTABLE flag. If not, it will search the map for a new player to target. If none is found and Var1 is set to 0, the action will call the state specified by Var2.

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