A_BossJetFume

From SRB2 Wiki
Jump to: navigation, search

A_BossJetFume is an action that spawns extra Objects such as jet fumes to be used by the bosses. If Var1 is set to 0, it spawns three Egg Mobile-style fumes in a triangle formation behind the actor. If it is set to 1, it spawns the Sea Egg's propeller instead. The spawned Objects will all set the actor as their target, while the actor sets only one of them as its tracer.

This action should ideally only be used once, when the actor is first spawned – SpawnState however should only be used if the actor won't return to it, otherwise the actor will repeatedly spawn more of the selected jet fumes each time SpawnState is used. One way around this problem could be to have another Object make the actor call this action via A_RemoteAction so the action won't need to be called in the actor's own states.

Var1 Description Object Front/back offset (fracunits) Left/right offset (fracunits) Up/down offset (fracunits) Miscellaneous details
0 Egg Mobile-style fumes MT_JETFUME1 #1 (center)
MT_JETFUME1 #2 (right)
MT_JETFUME1 #3 (left)
64 backwards, from center of boss
64 backwards, from center of boss
64 backwards, from center of boss
0
24 to the right, from center of boss
24 to the left, from center of boss
38 upwards, from bottom of boss
12 upwards, from bottom of boss
12 upwards, from bottom of boss
Fuse set to 56
Fuse set to 57
Fuse set to 58; actor sets this as its tracer
1 Sea Egg propeller MT_PROPELLER 60 backwards, from center of boss 0 17 upwards, from bottom of boss Faces the opposite direction to actor's angle; actor sets this as its tracer
2 Metal Sonic fume MT_JETFUME1 0 0 0 Scaled to half the normal scale so it appears twice as small; actor sets this as its tracer
3 Eggscalibur jet flame MT_JETFLAME 0 0 50 downwards, from bottom of boss -

  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