fuaZandroX modding reference

Actor flag

+STICKFACESURFACE

STICKFACESURFACE

Availability

ZandroX only. Does not exist in Zandronum 3.2.

Usage

Set on a sticky projectile. When it sticks it turns to face out of what it struck: out of a wall toward the side it came from, or away from the centre of an actor. On a floor or ceiling it keeps its own facing.

With a wall sprite (+WALLSPRITE) that lays it flat against the wall, like a decal that can still animate.

Examples

ACTOR SplatShot
{
    Radius 4
    Height 8
    Speed 30
    Projectile
    +STICKTOWALLS
    +STICKFACESURFACE
    +WALLSPRITE
    States
    {
    Spawn:
        BAL1 A 1
        Loop
    Stick.Wall:
        BAL1 CDE 6
        BAL1 E 1 A_FadeOut(0.05)
        Wait
    }
}

See also