|
Note: Wait! Stop! You do not need to copy this actor's code into your project! Here's why:
- This actor is already defined in GZDoom, there's no reason to define it again.
- In fact, trying to define an actor with the same name will cause an error (because it already exists).
- If you want to make your own version of this actor, use inheritance.
- Definitions for existing actors are put on the wiki for reference purpose only.
|
Pod generator
|
Actor type
|
Map spot
|
Game
|
(Heretic)
|
DoomEd Number
|
43
|
Class Name
|
PodGenerator
|
Spawn ID
|
126
|
Identifier
|
T_PODGENERATOR
|
Classes: PodGenerator
Pod generators are invisible actors that constantly try to create more pods around them, stopping only when they have 16 pods they have created themselves currently in existence, or when there is no longer enough room around them to spawn more. A pod created by their native action A_MakePod will appear in its Grow state rather than its spawn state.
ACTOR PodGenerator
{
+NOBLOCKMAP
+NOSECTOR
+DONTSPLASH
AttackSound "world/podgrow"
action native A_MakePod(class<Actor> podtype = "Pod");
States
{
Spawn:
TNT1 A 35 A_MakePod
Loop
}
}