Classes:SpecialSpot
Jump to navigation
Jump to search
Note: Wait! Stop! You do not need to copy this actor's code into your project! Here's why:
|
Special spot | |||
---|---|---|---|
Actor type | Internal | Game | (ZDoom) |
DoomEd Number | None | Class Name | SpecialSpot |
Classes: SpecialSpot
→BossSpot
→BossTarget
→MaceSpawner
The base class used for special map points that must be part of a collection where a single element can be chosen randomly. The Icon of Sin in Doom II, D'Sparil and the firemace in Heretic all use this in different ways.
- The Icon of Sin regularly spits boss cubes at a randomly-chosen BossTarget.
- D'Sparil, once his mount is dead, will often teleport to a randomly-chosen BossSpot. The more wounded he is, the more likely he'll decide to teleport.
- Only one firemace can be present in a level, so it will appear at a randomly-chosen MaceSpawner. Except in deathmatch, the mace only has a 75% chance of appearing at all.
DECORATE definition
ACTOR SpecialSpot native { action native A_SpawnSingleItem(class<Actor> type, int fail_sp = 0, int fail_co = 0, int fail_dm = 0); }
Categories:
- Chex Quest actors
- Chex Quest internal actors
- Chex Quest 3 actors
- Chex Quest 3 internal actors
- Doom actors
- Doom internal actors
- Doom II actors
- Doom II internal actors
- Heretic actors
- Heretic internal actors
- Hexen actors
- Hexen internal actors
- Strife actors
- Strife internal actors
- ZDoom actors
- ZDoom internal actors
- Internal