A_WhirlwindSeek
Decreases the calling actor's health by three points, if it becomes lesser than zero, sets its speed to 0 on all three axes, clears its MISSILE flag, and puts it in its Death state. Then do nothing else.
A_WhirlwindSeek
(no parameters)
Otherwise, decreases the calling actor's special2 field by three points. If it becomes lesser than zero, sets it back to a random value between 58 and 90, and plays the sound "ironlich/attack3" on the BODY channel. If the calling actor's tracer doesn't have the SHADOW flag (which is given by PowerInvisibility items), it also calls A_SeekerMissile with a threshold of 10° and a maximum angle of 30°.
This codepointer is restricted to Whirlwind 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.