Need help with the chem sprayer

I'm trying to make a chemical sprayer but it doesn't shoot the custom spray I made for it. I get damage, yes. It's the case of the INVISIBLE SPRAY!

ACTOR Spray
{
Height 8
Radius 6
Damage 2
Speed 10
PROJECTILE
+MISSILE
states
{
Spawn:
spry ABC 5
Loop
Death:
spry CDE 4
Stop
}
}

ACTOR Chemsprayer 1004
{
OBITUARY "My skin...It's melting away..."
Health 120
Radius 20
Height 56
Mass 100
Speed 8
PainChance 200
MONSTER
+FloorClip
states
{
Spawn:
CHEM AB 10 A_Look
Loop
See:
CHEM ABCB 3 A_Chase
Loop
Missile:
CHEM D 4 A_FaceTarget
CHEM D 1 A_CustomMissile("spray",0,0,0)
CHEM D 1
Goto see
Pain:
CHEM E 6
Goto See+1
Death:
CHEM F 3
CHEM G 3 A_NoBlocking
CHEM HIJKLMNOPQRS 3
CHEM T -1
Stop
}
}

See anything wrong?

Share this post


Link to post

It works...
Great now I look like a total n00b.

(Not that I already am, of course.)

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now