equal
deleted
inserted
replaced
340 end |
340 end |
341 |
341 |
342 function heroDeath(gear) |
342 function heroDeath(gear) |
343 SendStat(siGameResult, loc("Hog Solo lost, try again!")) |
343 SendStat(siGameResult, loc("Hog Solo lost, try again!")) |
344 SendStat(siCustomAchievement, loc("You have to get the weapons and rescue the PAotH researchers.")) |
344 SendStat(siCustomAchievement, loc("You have to get the weapons and rescue the PAotH researchers.")) |
345 SendStat(siPlayerKills,'1',teamC.name) |
345 sendSimpleTeamRankings({teamC.name, teamB.name, teamD.name, teamA.name}) |
346 SendStat(siPlayerKills,'0',teamD.name) |
|
347 EndGame() |
346 EndGame() |
348 end |
347 end |
349 |
348 |
350 function battleZone(gear) |
349 function battleZone(gear) |
351 EndTurn(true) |
350 EndTurn(true) |
365 |
364 |
366 function victory() |
365 function victory() |
367 AnimCaption(hero.gear, loc("Congrats! You won!"), 6000) |
366 AnimCaption(hero.gear, loc("Congrats! You won!"), 6000) |
368 saveCompletedStatus(1) |
367 saveCompletedStatus(1) |
369 SendStat(siGameResult, loc("Hog Solo wins, congratulations!")) |
368 SendStat(siGameResult, loc("Hog Solo wins, congratulations!")) |
370 SendStat(siPlayerKills,'1',teamD.name) |
369 sendSimpleTeamRankings({teamD.name, teamA.name, teamC.name, teamB.name}) |
371 SendStat(siPlayerKills,'0',teamC.name) |
|
372 SaveCampaignVar("CosmosCheckPoint", "5") -- hero got fuels |
370 SaveCampaignVar("CosmosCheckPoint", "5") -- hero got fuels |
373 resetCheckpoint() -- reset this mission |
371 resetCheckpoint() -- reset this mission |
374 gameOver = true |
372 gameOver = true |
375 EndGame() |
373 EndGame() |
376 end |
374 end |