A_PodPain

From ZDoom Wiki
Revision as of 20:28, 23 June 2016 by JSO x (talk | contribs) (→‎Examples: edit)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

A_PodPain [(string gootype)]
(no parameter)

Spawns an actor of type gootype (by default, PodGoo) 50% of the time, with 6.25% chance of spawning a second actor of the same type as well. The spawned goos, if any, are given velocities between -2 and +2 on the X and Y axes, and between 0.5 and 2.5 on the Z axis.

This codepointer is restricted to Pod and derived classes.

Examples

Taked from pod pain state:

Pain:
   PPOD B 14 A_PodPain
   Goto Spawn