equal
deleted
inserted
replaced
184 |
184 |
185 function heroDeath(gear) |
185 function heroDeath(gear) |
186 SendStat(siGameResult, loc("Hog Solo lost, try again!")) |
186 SendStat(siGameResult, loc("Hog Solo lost, try again!")) |
187 SendStat(siCustomAchievement, loc("You have to eliminate all the enemies.")) |
187 SendStat(siCustomAchievement, loc("You have to eliminate all the enemies.")) |
188 SendStat(siCustomAchievement, loc("Read the challenge objectives from within the mission for more details.")) |
188 SendStat(siCustomAchievement, loc("Read the challenge objectives from within the mission for more details.")) |
189 SendStat(siPlayerKills,'1',teamB.name) |
189 sendSimpleTeamRankings({teamB.name, teamA.name}) |
190 SendStat(siPlayerKills,'0',teamA.name) |
|
191 EndGame() |
190 EndGame() |
192 end |
191 end |
193 |
192 |
194 function heroWin(gear) |
193 function heroWin(gear) |
195 saveBonus(3, 4) |
194 saveBonus(3, 4) |
204 if record ~= nil then |
203 if record ~= nil then |
205 SendStat(siCustomAchievement, loc("This is a new personal best, congratulations!")) |
204 SendStat(siCustomAchievement, loc("This is a new personal best, congratulations!")) |
206 end |
205 end |
207 end |
206 end |
208 SendStat(siCustomAchievement, loc("The next 4 times you play the \"The last encounter\" mission you'll get 20 more hit points and a laser sight.")) |
207 SendStat(siCustomAchievement, loc("The next 4 times you play the \"The last encounter\" mission you'll get 20 more hit points and a laser sight.")) |
209 SendStat(siPlayerKills,'1',teamA.name) |
208 sendSimpleTeamRankings({teamA.name, teamB.name}) |
210 SaveCampaignVar("Mission11Won", "true") |
209 SaveCampaignVar("Mission11Won", "true") |
211 checkAllMissionsCompleted() |
210 checkAllMissionsCompleted() |
212 EndGame() |
211 EndGame() |
213 end |
212 end |
214 |
213 |