ACTOR magnum : weapon 1 {
Weapon.BobStyle InverseSmooth
Weapon.BobSpeed 2.1
Weapon.BobRangeY 0.3
Weapon.BobRangeX 0.6
Weapon.AmmoType "ammo"
Weapon.SelectionOrder 1
Obituary "%k died from a magnum blast by the magnum lord %o"
States {
Spawn:
MGNT G -1
STOP
Select:
MGNT A 1 A_RAISE
loop
Deselect:
MGNT A 1 A_LOWER
loop
Ready:
MGNT A 1 A_WEAPONREADY
loop
FIRE:
MGNT A 0
MGNT BCDEF A_FIREBULLETS(0,0,
MGNT A 0 A_REFIRE("FireS")
MGNT A 1
goto Ready
Question
protgent
here is my code
ACTOR magnum : weapon 1 {
Weapon.BobStyle InverseSmooth
Weapon.BobSpeed 2.1
Weapon.BobRangeY 0.3
Weapon.BobRangeX 0.6
Weapon.AmmoType "ammo"
Weapon.SelectionOrder 1
Obituary "%k died from a magnum blast by the magnum lord %o"
States {
Spawn:
MGNT G -1
STOP
Select:
MGNT A 1 A_RAISE
loop
Deselect:
MGNT A 1 A_LOWER
loop
Ready:
MGNT A 1 A_WEAPONREADY
loop
FIRE:
MGNT A 0
MGNT BCDEF A_FIREBULLETS(0,0,
MGNT A 0 A_REFIRE("FireS")
MGNT A 1
goto Ready
FireS:
MGNT BCDEF A_FIREBULLETS(0, 0, 1, 10)
MGNT A 0 A_REFIRE("FireS")
goto Ready
}
}
i put this in my PK3 witch is an iwad being read from GZDOOM.PK3
and when i launch it
i get this
Script error, "my pk3 file and dir" line 30:
SC_GetNumber: Bad numeric constant "A_FIREBULLETS".
what does it mean and how can i fix it?
Edited by TuckymonsterShare this post
Link to post
12 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.