247 SendStat(siGameResult, loc("Too slow! Try again ...")) |
247 SendStat(siGameResult, loc("Too slow! Try again ...")) |
248 SendStat(siCustomAchievement, loc("You have to catch the other hog 3 times.")) |
248 SendStat(siCustomAchievement, loc("You have to catch the other hog 3 times.")) |
249 SendStat(siCustomAchievement, loc("The time that you have left when you reach the blue hedgehog will be added to the next turn.")) |
249 SendStat(siCustomAchievement, loc("The time that you have left when you reach the blue hedgehog will be added to the next turn.")) |
250 SendStat(siCustomAchievement, loc("Each turn you'll have only one rope to use.")) |
250 SendStat(siCustomAchievement, loc("Each turn you'll have only one rope to use.")) |
251 SendStat(siCustomAchievement, loc("You'll lose if you die or if your time is up.")) |
251 SendStat(siCustomAchievement, loc("You'll lose if you die or if your time is up.")) |
252 SendStat(siPlayerKills,'0',teamA.name) |
252 sendSimpleTeamRankings({teamB.name, teamA.name}) |
253 EndGame() |
253 EndGame() |
254 end |
254 end |
255 |
255 |
256 function win() |
256 function win() |
257 SendStat(siGameResult, loc("Congratulations, you are the fastest!")) |
257 SendStat(siGameResult, loc("Congratulations, you are the fastest!")) |
258 -- siCustomAchievements were added earlier |
258 -- siCustomAchievements were added earlier |
259 SendStat(siPlayerKills,'0',teamA.name) |
259 sendSimpleTeamRankings({teamA.name, teamB.name}) |
260 SaveCampaignVar("Mission13Won", "true") |
260 SaveCampaignVar("Mission13Won", "true") |
261 checkAllMissionsCompleted() |
261 checkAllMissionsCompleted() |
262 EndGame() |
262 EndGame() |
263 end |
263 end |