A_GenWizard

From ZDoom Wiki
Revision as of 07:29, 11 August 2009 by Gez (talk | contribs) (Created page with '{{DISPLAYTITLE:A_GenWizard}} '''A_GenWizard'''<br /> (no parameters) Spawn a {{Class|Wizard}} at the calling actor's position. If the spawning attempt is successful, the calling…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.