mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-06 13:01:03 +00:00
371712c53a
- 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.
30 lines
419 B
Text
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;
|
|
}
|
|
}
|