mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-17 01:51:17 +00:00
31 lines
433 B
Text
31 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;
|
||
|
}
|
||
|
}
|