A_GenWizard

From ZDoom Wiki
Jump to navigation Jump to search

A_GenWizard
(no parameters)

Spawn a Wizard at the calling actor's position. If the spawning attempt is successful, the calling actor's speed is set to 0 on all three axes, it loses its MISSILE flag and is put in its Death state. A TeleportFog is also spawned at the calling actor's position. The spawned Disciple of D'Sparil takes the calling actor's target as its master and adapts its friendliness settings accordingly, so this function only works logically if called by a projectile.

This codepointer is restricted to Sorcerer2FX2 and derived classes.