Actor flags
+STICKY · +STICKTOWALLS · +STICKTOFLOORS · +STICKTOCEILINGS · +STICKTOACTORS
STICKY
Availability
ZandroX only. Does not exist in Zandronum 3.2.
Usage
Set on a projectile. Where it would explode on one of the surfaces these name, it sticks there instead:
| Flag | Surface |
|---|---|
STICKTOWALLS |
a wall: a line's face, a step's riser, a door's face, a 3D floor's side |
STICKTOFLOORS |
a floor it comes down on, a 3D floor's top included |
STICKTOCEILINGS |
a ceiling it goes up into, a 3D floor's bottom included |
STICKTOACTORS |
an actor it strikes |
STICKY |
all four |
STICKY sets or clears all four at once, so +STICKY followed by -STICKTOACTORS leaves the other
three. CheckFlag reports STICKY as set when any of the four is.
An explosion that is not an impact (A_Die, a countdown, a kill) never sticks.
Examples
A spike that sticks in walls and floors but explodes on anything alive:
ACTOR WallSpike
{
Radius 4
Height 8
Speed 25
Damage 6
Projectile
+STICKY
-STICKTOACTORS
States
{
Spawn:
BAL1 A 1
Loop
Stick:
BAL1 A 70
Stop
Death:
BAL1 CDE 4
Stop
}
}