mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-11 23:32:04 +00:00
30 lines
433 B
Text
30 lines
433 B
Text
|
|
// Buzzy fly ----------------------------------------------------------------
|
|
|
|
class LittleFly : Actor
|
|
{
|
|
Default
|
|
{
|
|
+NOBLOCKMAP +NOGRAVITY
|
|
+CANPASS
|
|
|
|
Speed 6;
|
|
Radius 5;
|
|
Height 5;
|
|
Mass 2;
|
|
ActiveSound "FlyBuzz";
|
|
}
|
|
|
|
action native void A_FlySearch();
|
|
action native void A_FlyBuzz();
|
|
|
|
States
|
|
{
|
|
Spawn:
|
|
TNT1 A 20 A_FlySearch; // [RH] Invisible when not flying
|
|
Loop;
|
|
Buzz:
|
|
AFLY ABCD 3 A_FlyBuzz;
|
|
Loop;
|
|
}
|
|
}
|