mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-12-17 08:01:55 +00:00
49 lines
719 B
Text
49 lines
719 B
Text
|
|
||
|
// Bat Spawner --------------------------------------------------------------
|
||
|
|
||
|
ACTOR BatSpawner : SwitchableDecoration 10225
|
||
|
{
|
||
|
Game Hexen
|
||
|
+NOBLOCKMAP +NOSECTOR +NOGRAVITY
|
||
|
RenderStyle None
|
||
|
|
||
|
action native A_BatSpawnInit();
|
||
|
action native A_BatSpawn();
|
||
|
|
||
|
States
|
||
|
{
|
||
|
Spawn:
|
||
|
Active:
|
||
|
TNT1 A 2
|
||
|
TNT1 A 2 A_BatSpawnInit
|
||
|
TNT1 A 2 A_BatSpawn
|
||
|
Wait
|
||
|
Inactive:
|
||
|
TNT1 A -1
|
||
|
Stop
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// Bat ----------------------------------------------------------------------
|
||
|
|
||
|
ACTOR Bat
|
||
|
{
|
||
|
Speed 5
|
||
|
Radius 3
|
||
|
Height 3
|
||
|
+NOBLOCKMAP +NOGRAVITY +MISSILE
|
||
|
+NOTELEPORT +CANPASS
|
||
|
|
||
|
action native A_BatMove();
|
||
|
|
||
|
States
|
||
|
{
|
||
|
Spawn:
|
||
|
ABAT ABC 2 A_BatMove
|
||
|
Loop
|
||
|
Death:
|
||
|
ABAT A 2
|
||
|
Stop
|
||
|
}
|
||
|
}
|