Actor flag
+BOUNCEBEFOREBURROW
BOUNCEBEFOREBURROW
Availability
ZandroX only. Does not exist in Zandronum 3.2.
Usage
Set on a burrowing projectile that also bounces. It bounces off every surface its bounce flags cover, and burrows only where it would not bounce:
- a surface its bounce flags leave out, such as a wall for a projectile that bounces off floors alone;
- any surface its
BounceCountwould explode it on, its last bounce.
Without this flag the order is the other way round: it burrows wherever a way through exists and bounces off the rest.
Notes:
- Burrowing on its last bounce does not spend it. Once out, it burrows the next surface it can and explodes on the first it cannot, as a spent bouncer does.
- Without a
BounceCountit never runs out of bounces, so it burrows only the surfaces its bounce flags leave out. - No effect on a projectile without bounce flags.
SetActorFlagturns it on and off from ACS; in a netgame the change reaches every client.
Examples
A ricochet drill that bounces off the first two walls it meets and drills through the third:
ACTOR RicochetDrill
{
Radius 6
Height 8
Speed 20
Damage 8
Projectile
+BOUNCEONWALLS
BounceCount 3
+CANBURROWWALLS
+BOUNCEBEFOREBURROW
States
{
Spawn:
BAL1 A 1
Loop
Death:
BAL1 CDE 4
Stop
}
}
If the third wall is too thick to get through, it explodes there.