Advertisement
Chronos_Ouroboros

Untitled

Nov 12th, 2014
292
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.68 KB | None | 0 0
  1. Actor BaseSpawnedWeapon : CustomInventory {
  2. Inventory.Amount 0
  3. Inventory.MaxAmount 1
  4. +Inventory.AutoActivate +Inventory.IgnoreSkill
  5. States {
  6. Failed:
  7. TNT1 A 0
  8. Fail
  9. Use:
  10. TNT1 A 0
  11. Stop
  12. }
  13. }
  14.  
  15. Actor SpawnedBioForceGun : BaseSpawnedWeapon 30035 {
  16. Inventory.PickupMessage "$GOTBFG"
  17. States {
  18. Spawn:
  19. BFGG Z -1
  20. Stop
  21. Pickup:
  22. TNT1 A 0 A_JumpIfInventory ("BioForceGun", 0, "GrabAmmo")
  23. TNT1 A 0 A_TakeInventory ("AmmoBFG", 999999999)
  24. TNT1 A 0 A_GiveInventory ("BioForceGun", 1)
  25. TNT1 A 0 A_GiveInventory ("AmmoBFG", 999999999)
  26. Stop
  27. GrabAmmo:
  28. TNT1 A 0 A_JumpIfInventory ("Cell2", 0, "Failed")
  29. TNT1 A 0 A_GiveInventory ("Cell2", 1)
  30. Stop
  31. }
  32. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement