gzdoom/wadsrc/static/zscript/actors/strife/ratbuddy.zs

38 lines
495 B
Text
Raw Normal View History

2016-10-18 21:05:58 +00:00
class RatBuddy : Actor
{
Default
{
Health 5;
Speed 13;
Radius 10;
Height 16;
+NOBLOOD +FLOORCLIP +CANPASS
+ISMONSTER +INCOMBAT
MinMissileChance 150;
MaxStepHeight 16;
MaxDropoffHeight 32;
Tag "$TAG_RATBUDDY";
SeeSound "rat/sight";
DeathSound "rat/death";
ActiveSound "rat/active";
}
States
{
Spawn:
RATT A 10 A_Look;
Loop;
See:
RATT AABB 4 A_Chase;
Loop;
Melee:
RATT A 8 A_Wander;
RATT B 4 A_Wander;
Goto See;
Death:
MEAT Q 700;
Stop;
}
}