Advertisement
Guest User

(c) US AIRFORCE LAUNCH DATA *EDIT*

a guest
Oct 20th, 2017
393
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.61 KB | None | 0 0
  1.  
  2. void launch(MissileType type, AuthCode code, MissilePos pos, MissileData data){
  3.  
  4. /*
  5. (c) US Airforce
  6.  
  7. *EDIT*
  8. Inquires email launch master: romanwbruce@gmail.com
  9. *EDIT*
  10. */
  11. // Authorized?
  12. bool auth = auth(code,type);
  13. // Get the result of missile space in launcher.
  14. bool res = sendHoldData(data.getPosition(pos));
  15. //Check for greenlight
  16. if(res == true || auth == true){
  17. //Send this data to launcher tube
  18. sendLaunchData(auth,pos);
  19. //Alert the pilot
  20. sendMessage(HUD.right_message_box, "Launching : "+type.locale+"");
  21. //End
  22. finish(auth,data);
  23. //Log
  24. logMissile(data,type,code,pos,Data.getADD());
  25. }
  26.  
  27. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement