A_PoisonBagDamage

It deals 4 damage to a distance of 40 units. The calling actor's target is considered responsible for the damage.

A_PoisonBagDamage

(no parameters)

A more specialized form of A_Explode.

Additionally, it causes the calling actor to bob up and down in a way similar to if it had the FLOATBOB flag set. This codepointer would need to be called every tic to make the calling actor bob at the same speed as an actor with FLOATBOB; the PoisonCloud which calls it every two tics thus bobs at only half the speed.

Examples

See PoisonCloud for an example.

This article is issued from Zdoom. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.