A_Boss2PogoTarget

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_Boss2PogoTarget is an action that is used as part of the Egg Slimer's pinch phase thinker. This part causes the actor to pogo around, and attempts to make the actor land on the target player if close enough. Var1 determines the vertical speed – when the actor is far away from the target player (512 fracunits away or more), the Z-momentum given is Var1/65536 fracunits/tic, and when the actor is close, the Z-momentum given is Var1×1.5 fracunits/tic. Var2 determines the horizontal speed multiple – when the actor is more than 512 fracunits away from the target player, the actor will pogo forward at Speed*(Var2/65536) fracunits. Both Var1 and Var2 must be multiples of FRACUNIT – the Egg Slimer for example uses a Var1 value of of 7*FRACUNIT and a Var2 value of 8*FRACUNIT.

Object property Use
ActiveSound Bouncing sound
Speed Horizontal speed when far away (Speed*(Var2/65536))
MissileState Object type used as pogo stick collision box

  Actions – Boss thinkers [view]
A_Boss1ChaseA_Boss1LaserA_Boss1SpikeballsA_Boss2ChaseA_Boss2PogoA_Boss2PogoSFXA_Boss2PogoTargetA_Boss2TakeDamageA_Boss3PathA_Boss3TakeDamageA_Boss4RaiseA_Boss4ReverseA_Boss4SpeedUpA_Boss7ChaseA_Boss7FireMissilesA_BossDeathA_BossFireShotA_BossJetFumeA_BossScreamA_BossZoomA_BrakChaseA_BrakFireShotA_BrakLobShotA_FocusTarget