Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //SET STARTDAY
- SET STARTYEAR TO 1.
- SET STARTDAY TO 185.
- SET STARTHOUR TO 0.
- SET STARTMIN TO 15.
- SET STARTSEC TO 01.
- declare function waitstart {
- declare parameter STARTYEAR.
- declare parameter STARTDAY.
- declare parameter STARTHOUR.
- declare parameter STARTMIN.
- declare parameter STARTSEC.
- PrtLog("LAUNCH SCHEDULED TO: Y:"+STARTYEAR+" D:"+STARTDAY+" - "+STARTHOUR+":"+STARTMIN+":"+STARTSEC).
- PrtLog("Waiting...").
- UNTIL TIME:YEAR = STARTYEAR {
- PrtMissParam().
- }.
- PrtLog("DATE OF LAUNCH (YEAR) REACHED: "+STARTYEAR).
- UNTIL TIME:DAY = STARTDAY {
- PrtMissParam().
- }.
- PrtLog("DATE OF LAUNCH (DAY) REACHED: "+STARTDAY).
- IF WARP > 6 {
- SET WARP TO 6.
- }.
- UNTIL TIME:HOUR = STARTHOUR {
- PrtMissParam().
- }.
- PrtLog("DATE OF LAUNCH (HOUR) REACHED: "+STARTHOUR).
- IF WARP > 4 {
- SET WARP TO 4.
- }.
- UNTIL TIME:MINUTE = STARTMIN -10 {
- PrtMissParam().
- }.
- PrtLog("DATE OF LAUNCH (MINUTE) REACHED: "+STARTMIN).
- SET WARP TO 0.
- UNTIL round(TIME:SECOND,0) = STARTSEC {
- PrtMissParam().
- }.
- PrtLog("DATE OF LAUNCH (MINUTE) REACHED: "+STARTSEC).
- }.
- //and then countdown.
- //PrtMissParam = to show some parameter of the mission, and launchvehicle stats like fuel, etc.. extra libary
- //PrtLog = write it to the screen at the right position and a file
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement