A_LobShot

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_LobShot is an action which makes the actor lob an Object at its target. In SRB2, this is used by the Cannonball Launcher and Brak Eggman (Old). Var1 is the Object to lob, Var2 upper 16 bits determine the Z offset the Object is fired from, lower 16 bits determine the Object's airtime. When the actor lobs the chosen Object, the SeeSound of the lobbed Object is played. After firing, ReactionTime*TICRATE*2 (ReactionTime*70) sets the actor's new reaction time. In Ultimate mode, the actor's new reaction time is set to ReactionTime*TICRATE (ReactionTime*35) instead. However, if the actor has MF_BOSS, the actor's reaction time will not be changed.

Additionally, for the 2.0 Brak Eggman, this will automatically scale the lobbed object to half the actor's own scale. Otherwise, the lobbed object will be set to the same scale as the actor itself.

Object property Use
SeeSound (of Object being shot) Played when fired
ReactionTime New reaction time (ReactionTime*TICRATE*2; ReactionTime*TICRATE in Ultimate mode)

  Actions – Projectiles [view]
A_DropMineA_FireShotA_LobShotA_MissileSplitA_MultiShotA_NapalmScatterA_ShootBulletA_SplitShotA_SuperFireShotA_SuperTurretFireA_TrapShotA_TurretFireA_TurretStopA_VileAttackA_VileFireA_VileTarget