Here's the code.
Code: Select all
Actor Multiple : weapon
{
+WEAPON.AMMO_OPTIONAL
weapon.slotnumber 2
inventory.pickupmessage "Multiple!"
states
{
spawn:
MULT A -1
loop
ready:
TURG A 1 a_weaponready
select:
TURG a 1 a_raise
deselect:
TURG a 1 a_lower
fire:
TURG a 1 a_gunflash
TURG a 1 A_Firecustommissile("multipleshot", random(6, 6)
TURG a 1 A_Firecustommissile("multipleshot", random(6, 6)
TURG a 1 A_Firecustommissile("multipleshot", random(6, 6) a_refire
goto ready
}
}
actor: multipleshot
{
height 8
radius 2
damage 2
speed 15
seesound "multiple"
projectile
states:
spawn:
muls a 4 bright
death:
muls b 2
muls c 2
}
}