fuaZandroX modding reference

Actor flags

+CANBURROW · +CANBURROWWALLS · +CANBURROWFLOORS · +CANBURROWCEILINGS · +CANBURROW3DFLOORS

CANBURROW

Availability

ZandroX only. Does not exist in Zandronum 3.2.

Usage

Set on a projectile. It burrows through the surfaces these name instead of exploding on them or bouncing off them:

Flag Surface
CANBURROWWALLS a wall: any line's face, a step's riser and a lintel included
CANBURROWFLOORS a floor it comes down on
CANBURROWCEILINGS a ceiling it goes up into
CANBURROW3DFLOORS a solid 3D floor's side, top or bottom
CANBURROW all four

CANBURROW sets or clears all four at once, so +CANBURROW followed by -CANBURROW3DFLOORS leaves the other three. CheckFlag reports CANBURROW as set when any of the four is.

A burrow must be allowed both the face it goes in by and the face it comes out of: a projectile with only +CANBURROWWALLS that would come up out of a ledge's top explodes at the wall instead.

A bouncer with these flags burrows where a way through exists and bounces off what it cannot get through. +BOUNCEBEFOREBURROW makes it bounce first and burrow only where it would not bounce.

Examples

A drill for walls alone, stopped by every floor and ceiling:

ACTOR WallDrill
{
    Radius 6
    Height 8
    Speed 20
    Damage 8
    Projectile
    +CANBURROWWALLS
    States
    {
    Spawn:
        BAL1 A 1
        Loop
    Death:
        BAL1 CDE 4
        Stop
    }
}

See also

  • Burrowing — what may never be burrowed, and how a burrow moves
  • BurrowDistance — how thick a solid it gets through