A_LeafSpawn

From ZDoom Wiki
Revision as of 20:10, 30 September 2011 by Gez (talk | contribs) (documented)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

A_LeafSpawn
(no parameters)

Spawns up to four leaves, which are alternatively Leaf1 and Leaf2. The leaves appear randomly in a square area of 128×128 map units centered on the spawner, and with a height between the spawner's and 64 map units above it. They are blown in the direction corresponding to the spawner's angle, with a horizontal velocity between 3.0 and 5.0 units.

This codepointer is restricted to LeafSpawner and derived classes.