263 SaveMissionVar("Won", "true") |
264 SaveMissionVar("Won", "true") |
264 ShowMission(loc("Basic Movement Training"), loc("Training complete!"),loc("Congratulations! You have completed the obstacle course!"), 0, 0) |
265 ShowMission(loc("Basic Movement Training"), loc("Training complete!"),loc("Congratulations! You have completed the obstacle course!"), 0, 0) |
265 SendStat(siGameResult, loc("You have completed the Basic Movement Training!")) |
266 SendStat(siGameResult, loc("You have completed the Basic Movement Training!")) |
266 SendStat(siCustomAchievement, loc("Congratulations!")) |
267 SendStat(siCustomAchievement, loc("Congratulations!")) |
267 SendStat(siCustomAchievement, loc("Return to the training menu by pressing the “Go back” button.")) |
268 SendStat(siCustomAchievement, loc("Return to the training menu by pressing the “Go back” button.")) |
268 SendStat(siPlayerKills, "0", GetHogTeamName(hog_greenhorn)) |
|
269 PlaySound(sndVictory, CurrentHedgehog) |
269 PlaySound(sndVictory, CurrentHedgehog) |
270 -- Disable controls, end game |
270 -- Disable controls, end game |
271 SetInputMask(0) |
271 SetInputMask(0) |
272 SetWeapon(amNothing) |
272 SetWeapon(amNothing) |
273 SetGearMessage(CurrentHedgehog, band(GetGearMessage(CurrentHedgehog), bnot(gmAllStoppable))) |
273 SetGearMessage(CurrentHedgehog, band(GetGearMessage(CurrentHedgehog), bnot(gmAllStoppable))) |