FREESLOT
MT_CAMERAGUY
MT_CAMERA
S_IDLE
S_WALK1
S_WALK2
S_WALK3
S_WALK4
S_SOND
S_FIND
S_FIND2
S_SOUND
S_THROW
S_CAMERA1
S_CAMERA2
S_CAMERA3
S_CAMERA4
SPR_CAMRA0
SPR_CAMRD0
sfx_cam

Object MT_CAMERA
MapThingNum = -1
SpawnState = S_CAMERA1
SpawnHealth = 1000
SeeState = S_NULL
SeeSound = sfx_none
MeleeState = S_CAMERA4
AttackSound = sfx_rlaunc
ReactionTime = 8
DeathState = S_NULL
PainChance = 0
Speed = 1
Radius = 32*FRACUNIT
Height = 32*FRACUNIT
Mass = 15
Damage = 0
Flags = MF_PAIN

State S_CAMERA1
SpriteName = CAMR
SpriteFrame = D
Next = S_CAMERA2
Duration = 2
Var1 = 0
Var2 = 0

State S_CAMERA2
SpriteName = CAMR
SpriteFrame = D
Next = S_CAMERA3
Duration = 105
Var1 = 0
Var2 = 0

State S_CAMERA3
SpriteName = CAMR
SpriteFrame = D
Next = S_CAMERA1
Duration = 2
Action = A_RemoteDamage
Var1 = 0
Var2 = 2

State S_CAMERA4
SpriteName = CAMR
SpriteFrame = D
Next = S_NULL
Duration = -1
Var1 = 0
Var2 = 0

Object MT_CAMERAGUY
#$Name cam thrower
#$Category SCUM3
#$Sprite CAMRA0
MapThingNum = 2219
SpawnState = S_IDLE
SpawnHealth = 1
SeeState = S_FIND
SeeSound = sfx_none
AttackSound = sfx_rlaunc
ReactionTime = 32
DeathState = S_XPLD_FLICKY
DeathSound = sfx_pop
PainChance = 200
Speed = 50
Radius = 96*FRACUNIT
Height = 64*FRACUNIT
Mass = 100
Damage = 0
Flags = MF_ENEMY|MF_SPECIAL|MF_SHOOTABLE

State S_IDLE
SpriteName = CAMR
SpriteFrame = A
Duration = 35
Next = S_WALK1
Var1 = 0
Var2 = 0

State S_WALK1
SpriteName = CAMR
SpriteFrame = C
Duration = 5
Action = A_Chase
Next = S_WALK2
Var1 = 0 
Var2 = 0

State S_WALK2
SpriteName = CAMR
SpriteFrame = B
Duration = 5
Action = A_Chase
Next = S_WALK3
Var1 = 0 
Var2 = 0

State S_WALK3
SpriteName = CAMR
SpriteFrame = B
Duration = 5
Action = A_Chase
Next = S_WALK4
Var1 = 0 
Var2 = 0

State S_WALK4
SpriteName = CAMR
SpriteFrame = B
Duration = 5
Action = A_Chase
Next = S_SOND
Var1 = 0
Var2 = 0

State S_SOND
SpriteName = CAMR
SpriteFrame = B
Duration = 0
Action = A_PlaySound
Next = S_FIND
Var1 = sfx_cam
Var2 = 1 << 16

State S_FIND
SpriteName = CAMR
SpriteFrame = B
Duration = 0
Action = A_FindTarget
Next = S_FIND2
Var1 = MT_PLAYER
Var2 = 0

State S_FIND2
SpriteName = CAMR
SpriteFrame = B
Duration = 15
Action = A_CheckRange
Next = S_WALK2
Var1 = 2432 << 16
Var2 = S_SOUND

State S_SOUND
SpriteName = CAMR
SpriteFrame = B
Duration = 0
Action = A_PlaySound
Next = S_THROW
Var1 = sfx_gspray
Var2 = 1 << 16

State S_THROW
SpriteName = CAMR
SpriteFrame = B
Duration = 0
Action = A_LobShot
Next = S_IDLE
Var1 = MT_CAMERA
Var2 = 32 >> 16