Doh! No it wasn't! >_< I guess having a fresh set of eyes pays off.
I just fixed it and now it works. However, I've ran into another problem. The unzoomed (FIRE) state lets me fire really accurate shots. This is how I have it in the coding though:
Code: Select all
Fire:
SNPF A 0 A_JumpIfInventory("SniperZoom", 1, "FireZoom")
SNPF B 0 A_AlertMonsters
SNPF A 1 A_PlayWeaponSound("weapons/sniperfire")
SNPF A 1 Bright A_FireBullets (22, 22, 1, 75, "BulletPuff")
SNPF B 1 Bright
SNPE A 5
SNPE ABC 5
SNPE D 6
SNPE F 5 A_PlayWeaponSound("weapons/sniperopen")
SNPE G 7
SNPE F 5 A_PlayWeaponSound("weapons/sniperclose")
SNPE D 4
SNPE CBA 3
Goto Ready
Shouldn't this be able to have me inaccurate shots unzoomed? I have the Zoomed states' A_FireBullets look like this:
Code: Select all
FireZoom:
TNT1 A 0 A_AlertMonsters
TNT1 A 1 A_PlayWeaponSound("weapons/sniperfire")
TNT1 A 1 Bright A_FireBullets (1, 2, 1, 75, "BulletPuff")
TNT1 A 20
TNT1 A 5 A_PlayWeaponSound("weapons/sniperopen")
TNT1 A 7
TNT1 A 5 A_PlayWeaponSound("weapons/sniperclose")
TNT1 A 7
Goto Ready
Not sure what I'm missing here.