200 end |
200 end |
201 |
201 |
202 -------------- ACTIONS ------------------ |
202 -------------- ACTIONS ------------------ |
203 |
203 |
204 function heroDeath(gear) |
204 function heroDeath(gear) |
205 SendStat('siGameResult', loc("Hog Solo lost, try again!")) --1 |
205 SendStat(siGameResult, loc("Hog Solo lost, try again!")) |
206 SendStat('siCustomAchievement', loc("You have to eliminate all the enemies")) --11 |
206 SendStat(siCustomAchievement, loc("You have to eliminate all the enemies")) |
207 SendStat('siCustomAchievement', loc("Read the Challenge Objectives from within the mission for more details")) --11 |
207 SendStat(siCustomAchievement, loc("Read the Challenge Objectives from within the mission for more details")) |
208 SendStat('siPlayerKills','1',teamB.name) |
208 SendStat(siPlayerKills,'1',teamB.name) |
209 SendStat('siPlayerKills','0',teamA.name) |
209 SendStat(siPlayerKills,'0',teamA.name) |
210 EndGame() |
210 EndGame() |
211 end |
211 end |
212 |
212 |
213 function heroWin(gear) |
213 function heroWin(gear) |
214 saveBonus(2, 1) |
214 saveBonus(2, 1) |
215 SendStat('siGameResult', loc("Congratulations, you won!")) --1 |
215 SendStat(siGameResult, loc("Congratulations, you won!")) |
216 SendStat('siCustomAchievement', loc("You complete the mission in "..TotalRounds.." rounds")) --11 |
216 SendStat(siCustomAchievement, loc("You complete the mission in "..TotalRounds.." rounds")) |
217 SendStat('siCustomAchievement', loc("You will gain some extra ammo from the crates the next time you play the \"Getting to the device\" mission")) --11 |
217 SendStat(siCustomAchievement, loc("You will gain some extra ammo from the crates the next time you play the \"Getting to the device\" mission")) |
218 SendStat('siPlayerKills','1',teamA.name) |
218 SendStat(siPlayerKills,'1',teamA.name) |
219 EndGame() |
219 EndGame() |
220 end |
220 end |
221 |
221 |
222 -------------- ANIMATIONS ------------------ |
222 -------------- ANIMATIONS ------------------ |
223 |
223 |