A_TemplarAttack

From ZDoom Wiki
Jump to navigation Jump to search

A_TemplarAttack
(no parameters)

Does nothing if the calling actor has no valid target.

Calls A_FaceTarget and plays the sound "templar/shoot" on the WEAPON channel. Sends 10 hitscan "pellets" that deal 2d4 disintegration damage each, with a vertical spread of up to 7° up or down and a horizontal spread of up to 11.25°.

This codepointer is restricted to Templar and actors inheriting from it.