|
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.
|
PotteryBit
|
Actor type
|
SFX
|
Game
|
(Hexen)
|
DoomEd Number
|
None
|
Class Name
|
PotteryBit
|
Classes: PotteryBit
A shattered pottery piece that is spawned when a pottery is smashed.
ACTOR PotteryBit
{
Radius 5
Height 5
+MISSILE
+NOTELEPORT
+NOICEDEATH
action native A_PotteryChooseBit();
action native A_PotteryCheck();
States
{
Spawn:
PBIT ABCDE -1
Stop
Death:
PBIT F 0 A_PotteryChooseBit
Stop
Pottery1:
PBIT F 140
PBIT F 1 A_PotteryCheck
Stop
Pottery2:
PBIT G 140
PBIT G 1 A_PotteryCheck
Stop
Pottery3:
PBIT H 140
PBIT H 1 A_PotteryCheck
Stop
Pottery4:
PBIT I 140
PBIT I 1 A_PotteryCheck
Stop
Pottery5:
PBIT J 140
PBIT J 1 A_PotteryCheck
Stop
}
}