Files
wnsrc/lua/entities/npc_fastzombie_slump_b/shared.lua
lifestorm 94063e4369 Upload
2024-08-04 22:55:00 +03:00

33 lines
852 B
Lua

--[[
| This file was obtained through the combined efforts
| of Madbluntz & Plymouth Antiquarian Society.
|
| Credits: lifestorm, Gregory Wayne Rossel JR.,
| Maloy, DrPepper10 @ RIP, Atle!
|
| Visit for more: https://plymouth.thetwilightzone.ru/
--]]
AddCSLuaFile()
ENT.Base = "npc_fastzombie_slump_a"
ENT.Type = "anim"
ENT.PrintName = "Sleeping Fastzombie B"
ENT.DebugModel = "models/balloons/balloon_dog.mdl"
ENT.DebugColor = Color( 150,0,0 )
ENT.AmbushDist = 256
ENT.MyClass = "npc_fastzombie_slump_b"
ENT.AmbusherClass = "npc_fastzombie"
ENT.Slump = "slump_b"
ENT.RiseStyle = "slumprise_b"
function ENT:Ambush()
if not IsValid( self.waking_sequence ) then return end
self.waking_sequence:Fire( "BeginSequence", "", 0 )
if self:GetIsSilent() then return end
self.ambusher:EmitSound( "npc/fast_zombie/wake1.wav", 75, 100 )
end