SHOW:
|
|
- or go back to the newest paste.
1 | - | SetAIControl ( 15, 1 ) |
1 | + | local Miboune = GetHandle("svrecy5_recycler") |
2 | - | SetAIP ( "usrmsn8a.aip", 15 ) |
2 | + | local khkhkh = false |
3 | local ok = false | |
4 | - | local Cpu_setup = false |
4 | + | local lel = nil |
5 | - | local Aiteam = 15 |
5 | + | local NSDFRecycler = GetHandle ("bvegan38_recycler") |
6 | - | local Sniper = GetHandle("1suser0_person") |
6 | + | local FinalCountdown = 5 |
7 | - | |
7 | + | local timefail = false |
8 | - | --Function for random table picker |
8 | + | local timesuccess = false |
9 | - | function table.random(t) |
9 | + | |
10 | - | return t[math.random(1,#t)] |
10 | + | |
11 | function Save() | |
12 | currentTime = GetCockpitTimer() | |
13 | - | local Attack1 = nil |
13 | + | return Miboune, NSDFRecycler, khkhkh, ok |
14 | - | local Attack2 = nil |
14 | + | |
15 | - | local Attack3 = nil |
15 | + | |
16 | - | local Attack4 = nil |
16 | + | function Load(...) |
17 | - | local walawulwul = GetHandle("sbhqt20_i76building") |
17 | + | if select('#', ...) >= 0 then |
18 | - | local labadiodawlab = GetHandle("uraqt20_i76building") |
18 | + | Miboune, NSDFRecycler, khkhkh, ok = ... |
19 | - | local ambush = nil |
19 | + | |
20 | - | local lulu = false |
20 | + | |
21 | - | |
21 | + | |
22 | - | local numberToSpawn = 1 |
22 | + | |
23 | - | |
23 | + | |
24 | - | local unitSpawns = {"rektanks", "rektankslel", "moar_rektanks", "nsdf_fagotry"} |
24 | + | if not IsAlive(Miboune) and not ok then |
25 | ||
26 | - | local ambushunit = {"sgartl"} |
26 | + | lel = BuildObject ("lecruise", 0, "path_3") |
27 | ok = true | |
28 | - | local ambushspawn = { "a_howie_fgt", "another_howie_fgt", "and_another", "and_again", "and_again_again", "and_again_3"} |
28 | + | |
29 | - | |
29 | + | |
30 | - | local unitNames = {"sdvrckt", "spilolet", "sdapc", "sgartl", "svtk13", "svtnk7"} |
30 | + | if not and IsAlive(Miboune) and not ok then |
31 | ClearObjectives () | |
32 | - | local Frozen = nil |
32 | + | AddObjective ("usrmsnle.otf" ,"red" ,8) |
33 | - | |
33 | + | if not timefail then |
34 | - | --Set our own variable for hosting. |
34 | + | StartCockpitTimerUp (0) |
35 | - | if IsHosting() or not IsNetGame() then |
35 | + | HideCockpitTimer () |
36 | - | Hosting = true |
36 | + | timefail = true |
37 | end | |
38 | ||
39 | - | function Start() |
39 | + | if GetCockpitTimer () >= FinalCountdown and timefail then |
40 | - | if not team_stuff then |
40 | + | FailMission (GetTime(0.0) ,"fatality.des") |
41 | - | --Ally all the player teams and lock the alliances. |
41 | + | |
42 | end | |
43 | - | --Team 1 |
43 | + | |
44 | - | Ally(1,2) |
44 | + | |
45 | - | Ally(1,3) |
45 | + | if not IsAlive (NSDFRecycler) and ok and not khkhkh then |
46 | - | Ally(1,4) |
46 | + | ClearObjectives () |
47 | AddObjective ("usrmsn56c.otf" ,"green" ,8) | |
48 | - | --Team 2 |
48 | + | khkhkh = true |
49 | - | Ally(2,1) |
49 | + | |
50 | - | Ally(2,3) |
50 | + | if not timefail and khkhkh then |
51 | - | Ally(2,4) |
51 | + | StartCockpitTimerUp (0) |
52 | HideCockpitTimer () | |
53 | - | --Team 3 |
53 | + | timesuccess = true |
54 | - | Ally(3,1) |
54 | + | |
55 | - | Ally(3,2) |
55 | + | |
56 | - | Ally(3,4) |
56 | + | if GetCockpitTimer () >= FinalCountdown and timesuccess then |
57 | - | |
57 | + | SucceedMission (GetTime(0.0) ,"uwin.des") |
58 | - | --Team 4 |
58 | + | |
59 | - | Ally(4,1) |
59 | + | |
60 | - | Ally(4,2) |
60 | + | |
61 | - | Ally(4,3) |
61 | + |