gzdoom/wadsrc/static/zscript/hexen/flies.txt
Christoph Oelckers 371712c53a - turned everything I could into non-action functions.
- fixed emission of the self pointer in FxVMFunctionCall. I did not realize that the self expression only sets up a register for the value, not pushing it onto the stack.
2016-10-22 17:49:08 +02:00

30 lines
419 B
Text

// Buzzy fly ----------------------------------------------------------------
class LittleFly : Actor
{
Default
{
+NOBLOCKMAP +NOGRAVITY
+CANPASS
Speed 6;
Radius 5;
Height 5;
Mass 2;
ActiveSound "FlyBuzz";
}
native void A_FlySearch();
native void A_FlyBuzz();
States
{
Spawn:
TNT1 A 20 A_FlySearch; // [RH] Invisible when not flying
Loop;
Buzz:
AFLY ABCD 3 A_FlyBuzz;
Loop;
}
}