137 end |
137 end |
138 |
138 |
139 -------------- ACTIONS ------------------ |
139 -------------- ACTIONS ------------------ |
140 |
140 |
141 function heroDeath(gear) |
141 function heroDeath(gear) |
142 SendStat('siGameResult', loc("Hog Solo lost, try again!")) --1 |
142 SendStat(siGameResult, loc("Hog Solo lost, try again!")) |
143 SendStat('siCustomAchievement', loc("You have to destroy all the explosives without dying!")) --11 |
143 SendStat(siCustomAchievement, loc("You have to destroy all the explosives without dying!")) |
144 SendStat('siPlayerKills','0',teamA.name) |
144 SendStat(siPlayerKills,'0',teamA.name) |
145 EndGame() |
145 EndGame() |
146 end |
146 end |
147 |
147 |
148 function heroWin(gear) |
148 function heroWin(gear) |
149 SendStat('siGameResult', loc("Congratulations, you have saved Hogera!")) --1 |
149 SendStat(siGameResult, loc("Congratulations, you have saved Hogera!")) |
150 SendStat('siCustomAchievement', loc("Hogera is safe!")) --11 |
150 SendStat(siCustomAchievement, loc("Hogera is safe!")) |
151 SendStat('siPlayerKills','1',teamA.name) |
151 SendStat(siPlayerKills,'1',teamA.name) |
152 EndGame() |
152 EndGame() |
153 end |
153 end |