A_ThrownRing

From SRB2 Wiki
Jump to navigation Jump to search
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_ThrownRing is an action which is used as the thinker for the red rings and most other weapon rings thrown in Match/CTF. The actor will fly after players with an Attraction Shield (setting the one it is following as the actor's tracer) if they are near enough, with exception to the player who fired the actor and players on the same team as that player in CTF. The actor will also spawn a sparkle trail object every 5 tics and may change its behavior depending on what is checked in its secondary flags.

Secondary flags Effect
None of the below Spawns MT_SPARK (unless MF2_EXPLOSION, MF2_AUTOMATIC and/or MF2_RAILRING are checked)
MF2_AUTOMATIC Spawns ghost trails of itself (unless MF2_EXPLOSION is checked)
MF2_RAILRING Spawns nothing from this action (unless MF2_EXPLOSION and/or MF2_AUTOMATIC are checked)
MF2_BOUNCERING Eventually starts to flicker (turning on or off MF2_DONTDRAW every tic), then disappears;
Spawns MT_SPARK (unless MF2_EXPLOSION, MF2_AUTOMATIC and/or MF2_RAILRING are checked)
MF2_EXPLOSION Spawns MT_SMOKE (takes priority over all other trails)

  Actions – Rings [view]
A_AttractChaseA_OldRingExplodeA_RingDrainA_RingExplodeA_ThrownRing