|
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.
|
Fly
|
Actor type
|
SFX
|
Game
|
(Hexen)
|
DoomEd Number
|
112
|
Class Name
|
LittleFly
|
Classes: LittleFly
A fly from the retail beta of Hexen which buzzes around corpses. The sprites are included with ZDoom.
ACTOR LittleFly
{
+NOBLOCKMAP
+NOGRAVITY
+CANPASS
Speed 6
Radius 5
Height 5
Mass 2
ActiveSound "FlyBuzz"
action native A_FlySearch();
action native A_FlyBuzz();
States
{
Spawn:
TNT1 A 20 A_FlySearch // Invisible when not flying
Loop
Buzz:
AFLY ABCD 3 A_FlyBuzz
Loop
}
}