Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Actor FDBFGExtra {
- +NoGravity +ExtremeDeath +IsMonster +NoTarget
- +NoBlockmap +NeverTarget +NotAutoaimed +Friendly
- var int user_BFGExtraLeft;
- var int user_DegreesToTurn;
- States {
- Spawn:
- TNT1 A 0
- TNT1 A 0 A_RearrangePointers (AAPTR_DEFAULT, AAPTR_TARGET, AAPTR_DEFAULT)
- TNT1 A 0 A_ClearTarget
- TNT1 A 0 A_SetUserVar ("user_BFGExtraLeft", 180)
- TNT1 A 0 A_SetUserVar ("user_DegreesToTurn", 2)
- Working:
- TNT1 A 0 A_JumpIf (user_BFGExtraLeft == 0, "Finish")
- TNT1 A 0 A_LookEx (LOF_NOSOUNDCHECK, 0, 0, 0, 4, "Fire")
- TNT1 A 0 A_ClearTarget
- TNT1 A 0 A_SetAngle (2)
- TNT1 A 0 A_SetUserVar ("user_BFGExtraLeft", user_BFGExtraLeft - 1)
- Loop
- Fire:
- TNT1 A 0 A_CustomRailgun (random (1, 4) * 8, 0, none, 00FF00, RGF_SILENT|RGF_NOPIERCING|RGF_FULLBRIGHT, 0, 2.0, "FDBFGExtraPuff", 0, 0)
- TNT1 A 0 A_ClearTarget
- TNT1 A 0 A_SetAngle (2)
- TNT1 A 0 A_SetUserVar ("user_BFGExtraLeft", user_BFGExtraLeft - 1)
- Goto Working
- Finish:
- TNT1 A 0
- Stop
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement