A_JetChase

From SRB2 Wiki
Jump to: navigation, search
Test.png This article or section is incomplete. It doesn't have all of the necessary core information on this topic. Please help the SRB2 Wiki by finishing this article.

A_JetChase is an action which is a modified A_Chase used by the Jetty-Syns through the actions A_JetbThink and A_JetgThink. This action assumes that the actor is unaffected by gravity, and has several up-and-down movements. Each time this action is used, the actor's reaction time will be reduced by 1 until it reaches 0. If the actor has MF_AMBUSH, this action will not do anything.

Note that the actor will have a seeing range of 3072 fracunits – if the target player is further away than this, the actor will stop chasing it, and look for another player within its seeing range. If the actor's target doesn't exist or is dead, the actor will look for a new target player; if none can be found, it will stop moving and return to its SpawnState.

Speed/4 sets the speed the actor will move towards the target player. The actor will try to keep itself at least 32 fracunits above the ground provided the ceiling isn't too close as well. It will move upwards if less than 32 fracunits above the target player's top, otherwise it will normally move downwards. In Ultimate mode the actor chases towards the player twice as quickly, being set to Speed/2 instead, and the actor will move upwards when less than 64 fracunits above the target player's top to become harder to reach.

Object property Use
SpawnState Goes back to this state if no players can be found
Speed Speed (Speed/4; Speed/2 in Ultimate mode)

  Actions – Enemy thinkers [view]
A_BuzzFlyA_CrawlaCommanderThinkA_DetonChaseA_EggShieldA_FaceStabChaseA_GuardChaseA_HoodThinkA_JetbThinkA_JetChaseA_JetgShootA_JetgThinkA_JetJawChompA_JetJawRoamA_MinusCheckA_MinusDiggingA_MinusPopupA_PointyThinkA_SharpChaseA_SharpSpinA_SkimChaseA_SnailerThinkA_VultureCheckA_VultureVtol