A_BishopMissileWeave

From ZDoom Wiki

Jump to: navigation, search

A_BishopMissileWeave

(no parameters)


This can only be used on projectiles and makes them move on a spiraling path. The exact behavior depends on the frequency with which this function is called. You have to call this function repeatedly to have a permanent effect.

Example

Here is an example of a projectile that has a similar behavior to the Dark Bishop's missile.

 ACTOR DarkBall
 {
   Radius 8
   Height 6
   Damage 10
   Speed 20
   PROJECTILE
   +Randomize
   States
     {
     Spawn:
     DRKB A 1 A_BishopMissileWeave
     DRKB B 1 A_BishopMissileWeave
     loop
     Death:
     DRKB CDE 3
     Stop
   }
 }
Personal tools