A_FindTracer

From SRB2 Wiki
Jump to navigation Jump to search
See also: A_FindTarget

A_FindTracer is an action that searches through all Objects of a specified type, and sets the actor's tracer to the one nearest (or farthest from) it in the map. Var1 determines the type of Object to look for, and Var2 specifies whether to look for the closest or farthest one of that type (0 for closest, 1 for farthest). This action does not take Z positioning into account.

If the type of Object being searched for is a player, this action will ignore any spectators, players with the notarget cheat enabled, and players with no health. This action will also ignore any enemies with no health.

This action may cause consistency failures in netgames.[confirm? – discuss]

  Actions – Property modifiers [view]
A_ChangeAngleAbsoluteA_ChangeAngleRelativeA_ChangeColorAbsoluteA_ChangeColorRelativeA_FindTargetA_FindTracerA_SetFuseA_SetObjectFlagsA_SetObjectFlags2A_SetRandomTicsA_SetReactionTimeA_SetScaleA_SetTics