Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Miboune = GetHandle("svrecy5_recycler")
- local khkhkh = false
- local ok = false
- local lel = nil
- local NSDFRecycler = GetHandle ("bvegan38_recycler")
- local FinalCountdown = 5
- local timefail = false
- local timesuccess = false
- function Save()
- currentTime = GetCockpitTimer()
- return Miboune, NSDFRecycler, khkhkh, ok
- end
- function Load(...)
- if select('#', ...) >= 0 then
- Miboune, NSDFRecycler, khkhkh, ok = ...
- end
- end
- function Update()
- if not IsAlive(Miboune) and not ok then
- lel = BuildObject ("lecruise", 0, "path_3")
- ok = true
- end
- if not and IsAlive(Miboune) and not ok then
- ClearObjectives ()
- AddObjective ("usrmsnle.otf" ,"red" ,8)
- if not timefail then
- StartCockpitTimerUp (0)
- HideCockpitTimer ()
- timefail = true
- end
- if GetCockpitTimer () >= FinalCountdown and timefail then
- FailMission (GetTime(0.0) ,"fatality.des")
- end
- end
- if not IsAlive (NSDFRecycler) and ok and not khkhkh then
- ClearObjectives ()
- AddObjective ("usrmsn56c.otf" ,"green" ,8)
- khkhkh = true
- end
- if not timefail and khkhkh then
- StartCockpitTimerUp (0)
- HideCockpitTimer ()
- timesuccess = true
- end
- if GetCockpitTimer () >= FinalCountdown and timesuccess then
- SucceedMission (GetTime(0.0) ,"uwin.des")
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement