A_BishopMissileWeave
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.
A_BishopMissileWeave (deprecated)
(no parameters)
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 } }
This article is issued from Zdoom. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.