||Note: Wait! Stop! Before you copy this actor's definition into your mod, remember the following things:
- You do not need to copy that actor, since it is already defined.
- In fact, it's not just useless, it's actually harmful as it can cause problems.
- If you want to modify it, or use a modified version, using inheritance is the way to go.
- The actor definitions here are put on the wiki for reference purpose only. Learn from them, don't copy them.
- There is only one exception: if what you want is changing Ammo capacity, you need to create a new type from Ammo.
|Dual grenade launcher
This mode of the Grenade Launcher fires Phosphorous Grenades, which burst into a pillar of erratically-moving flame for about 45 seconds.
ACTOR StrifeGrenadeLauncher2 : StrifeGrenadeLauncher
Tag "$TAG_GLAUNCHER2" // "Grenade Launcher"
GREN D 1 A_WeaponReady
GREN D 1 A_Lower
GREN D 1 A_Raise
GREN D 5 A_FireGrenade("PhosphorousGrenade", -90, "Flash")
GREN E 10
GREN D 5 A_FireGrenade("PhosphorousGrenade", 90, "Flash2")
GREN F 10
GREN A 0 A_ReFire
GREF C 5 Bright A_Light1
GREF D 5 Bright A_Light2