A_EntityAttack

From ZDoom Wiki
Revision as of 20:42, 9 August 2009 by Gez (talk | contribs)
Jump to navigation Jump to search

A_EntityAttack
(no parameters)

Produces one of five random attacks:

  1. Same as A_SpotLightning
  2. Shoots a SpectralLightningH3 (development version r1765+ only)
  3. Same as A_Spectre3Attack
  4. Shoots a SpectralLightningBigV2
  5. Shoots a SpectralLightningBigBall2 (development version r1765+ only)

This codepointer is restricted to EntityBoss and derived classes.

Note: A bug introduced in r1117 and present in the 4.14.3 version prevents attacks n°2 and n°5 from working correctly, instead they act as attack n°4. This has been fixed since.