Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Actor GlorifiedSpawnProtectionItem : CustomInventory
- {
- +Inventory.AutoActivate
- States
- {
- Spawn:
- TNT1 A 0
- TNT1 A 0 A_FireCustomMissile("GlorifiedSpawnProtectionCluster",0,0,0)
- TNT1 A 1
- Stop
- }
- }
- Actor GlorifiedSpawnProtectionCluster
- {
- +NoDamageThrust
- +ForceRadiusDMG
- DontHurtShooter
- +ThruActors
- Height 1
- Radius 1
- Speed 0.25
- var int repeat;
- States
- {
- Spawn:
- TNT1 A 1
- SLoop:
- TNT1 A 0
- TNT1 A 0 A_CustomMissile("GlorifiedSpawnProtectionShot",0,0,repeat*10,2)
- TNT1 A 0 A_SetUserVar("Repeat",repeat+1)
- TNT1 A 0 A_JumpIf(repeat>8,1)
- Loop
- TNT1 A 0 A_Explode(50,300,0,0,300)
- Stop
- }
- }
- Actor GlorifiedSpawnProtectionShot : GlorifiedSpawnProtectionCluster
- {
- Speed 76
- States
- {
- Spawn:
- TNT1 AAA 1 A_Explode(30,300,0,0,300)
- Stop
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement