equal
deleted
inserted
replaced
43 hog = AddMissionHog(1) |
43 hog = AddMissionHog(1) |
44 SetGearPosition(hog, 570, 157) |
44 SetGearPosition(hog, 570, 157) |
45 SetEffect(hog, heResurrectable, 1) |
45 SetEffect(hog, heResurrectable, 1) |
46 |
46 |
47 SendHealthStatsOff() |
47 SendHealthStatsOff() |
|
48 SendRankingStatsOff() |
48 end |
49 end |
49 |
50 |
50 function onGearResurrect(gear, vGear) |
51 function onGearResurrect(gear, vGear) |
51 if gear == hog then |
52 if gear == hog then |
52 flawless = false |
53 flawless = false |
195 else |
196 else |
196 PlaySound(sndVictory, hog) |
197 PlaySound(sndVictory, hog) |
197 end |
198 end |
198 SendStat(siCustomAchievement, loc("Good job!")) |
199 SendStat(siCustomAchievement, loc("Good job!")) |
199 SendStat(siGameResult, loc("You have completed the Basic Grenade Training!")) |
200 SendStat(siGameResult, loc("You have completed the Basic Grenade Training!")) |
200 SendStat(siPlayerKills, "0", GetHogTeamName(hog)) |
|
201 EndGame() |
201 EndGame() |
202 gameOver = true |
202 gameOver = true |
203 SetState(hog, gstWinner) |
203 SetState(hog, gstWinner) |
204 end |
204 end |
205 gamePhase = gamePhase + 1 |
205 gamePhase = gamePhase + 1 |