A_Stop

This stops the actor's current movement by setting its acceleration and speed to 0. This can also be used on players, monsters and anything else that is moving vertically or horizontally. Additionally when used on a player, it'll jump them to their idle state if it exists, otherwise their spawn state.

A_Stop

(no parameters)

Examples

This Lost Soul flies through the air to attack but stops after a short distance. Without A_Stop it would return to its See state while still flying towards its target.

ACTOR SoulStopper : LostSoul
{
  States
  {
  Missile:
    SKUL C 10 bright A_FaceTarget
    SKUL D 4 bright A_SkullAttack
    SKUL CDCDCDC 4 Bright
    SKUL C 0 A_Stop
    Goto See
  }
}
This article is issued from Zdoom. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.