24 |
24 |
25 Explosives = 0 |
25 Explosives = 0 |
26 Map = "CrazyMission" |
26 Map = "CrazyMission" |
27 Theme = "CrazyMission" |
27 Theme = "CrazyMission" |
28 |
28 |
29 AddTeam(loc("Feeble Resistance"), -1, "Statue", "Island", "Default", "cm_kiwi") |
29 AddTeam(playerTeamName, -1, "Statue", "Island", "Default", "cm_kiwi") |
30 player = AddHog(loc("Greg"), 0, 30, "NoHat") |
30 player = AddHog(loc("Greg"), 0, 30, "NoHat") |
31 hlayer = AddHog(loc("Mark"), 0, 40, "NoHat") |
31 hlayer = AddHog(loc("Mark"), 0, 40, "NoHat") |
32 |
32 |
33 AddTeam(loc("Cybernetic Empire"), -6, "ring", "Island", "Robot", "cm_binary") |
33 AddTeam(loc("Cybernetic Empire"), -6, "ring", "Island", "Robot", "cm_binary") |
34 enemy = AddHog(loc("WatchBot 4000"), 5, 50, "cyborg1") |
34 enemy = AddHog(loc("WatchBot 4000"), 5, 50, "cyborg1") |
104 ShowMission(loc("Teamwork 2"), loc("MISSION FAILED"), loc("Oh no! Just try again!"), -amSkip, 0) |
104 ShowMission(loc("Teamwork 2"), loc("MISSION FAILED"), loc("Oh no! Just try again!"), -amSkip, 0) |
105 GameOver = true |
105 GameOver = true |
106 SetHealth(hlayer, 0) |
106 SetHealth(hlayer, 0) |
107 SetHealth(player, 0) |
107 SetHealth(player, 0) |
108 end |
108 end |
109 if (gear == enemy) and (not GameOver) then |
109 end |
110 GameOver = true |
110 |
|
111 function onGameResult(winningClan) |
|
112 if winningClan == GetTeamClan(playerTeamName) then |
111 SaveMissionVar("Won", "true") |
113 SaveMissionVar("Won", "true") |
112 end |
114 end |
113 end |
115 end |
114 |
|