equal
deleted
inserted
replaced
382 spawnTarget(3480,1200) |
382 spawnTarget(3480,1200) |
383 end |
383 end |
384 else |
384 else |
385 if not game_lost then |
385 if not game_lost then |
386 -- Victory! |
386 -- Victory! |
|
387 SaveMissionVar("Won", "true") |
387 AddCaption(loc("Victory!"), capcolDefault, capgrpGameState) |
388 AddCaption(loc("Victory!"), capcolDefault, capgrpGameState) |
388 ShowMission(loc("Sniper Training"), loc("Aiming Practice"), loc("Congratulations! You've eliminated all targets|within the allowed time frame."), 0, 0) |
389 ShowMission(loc("Sniper Training"), loc("Aiming Practice"), loc("Congratulations! You've eliminated all targets|within the allowed time frame."), 0, 0) |
389 -- Also let the hogs shout "victory!" |
390 -- Also let the hogs shout "victory!" |
390 PlaySound(sndVictory, CurrentHedgehog) |
391 PlaySound(sndVictory, CurrentHedgehog) |
391 FollowGear(CurrentHedgehog) |
392 FollowGear(CurrentHedgehog) |