Advertisement
Guest User

Untitled

a guest
Jul 28th, 2017
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. function Move()
  2. {
  3. if ${Social.IsSafe}
  4. {
  5. Ship:Deactivate_Weapons
  6. Ship:Deactivate_Tracking_Computer
  7. call Belts.WarpToNextBelt
  8. ; This will reset target information about the belt
  9. ; (its needed for chaining)
  10. Targets:ResetTargets
  11. ; Reload just before targeting everything, the ship
  12. ; has been through warp so we're sure that no weapons are still
  13. ; active
  14. Ship:Reload_Weapons[TRUE]
  15. }
  16.  
  17. ; Wait for the rats to warp into the belt. Reports are between 10 and 20 seconds.
  18. variable int Count
  19. for (Count:Set[0] ; ${Count}<=30 ; Count:Inc)
  20. {
  21. if ${Targets.PC} || ${Targets.NPC} || !${Social.IsSafe}
  22. {
  23. break
  24. }
  25. wait 10
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement