fuaZandroX modding reference

Actor flag

+STICKPASTDEATH

STICKPASTDEATH

Availability

ZandroX only. Does not exist in Zandronum 3.2.

Usage

Set on a sticky projectile. It stays on an actor that dies, riding the body, until the body is removed; then it goes to Stick.Lost (or explodes without one).

Without it, the actor's death loses it at once. A player who becomes a spectator is lost either way.

Examples

Arrows that stay in a corpse:

ACTOR StuckArrow
{
    Radius 2
    Height 4
    Speed 40
    Damage 12
    Projectile
    +STICKY
    +STICKFOLLOWANGLE
    +STICKPASTDEATH
    States
    {
    Spawn:
        BAL1 A 1
        Loop
    Stick:
        BAL1 A -1
        Stop
    Stick.Lost:
        BAL1 A 1 A_FadeOut(0.1)
        Wait
    }
}

See also