A_SpectralLightning
Decrements threshold if it is not 0. Changes the x/y velocity of the calling actor to some values -3-3.
A_SpectralLightning
(no parameter)
If the threshold is greater than 25 a SpectralLightningV2 is spawned otherwise a SpectralLightningV1 is spawned. The actors will be spawned at the ceiling within 150 map units (in 50 unit increments) from the calling actor. The spawned actor will have a z velocity of 18 downwards and will have the calling actors target and health transferred to it.
A SpectralLightningV2 will also be spawned with the same properties at the location of the calling actor.
This codepointer is restricted to SpectralLightningSpot and derived classes.
This article is issued from Zdoom. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.