A_BishopMissileWeave

From ZDoom Wiki
Jump to navigation Jump to search

A_BishopMissileWeave (deprecated)

(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.

This function can be duplicated in a more generic way with A_Weave(2, 2, 2.0, 1.0).

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
   }
 }