A_PodPain

From ZDoom Wiki
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