// Map script by [UJE]Niek with help from Crapshoot global Map = { SnipeMap = true, Navigation = { wait = { navigate = function(_this) { timeout = 10; while ( timeout > 1 ) { _this.Goto(_this.Bot.GetPosition()); sleep(1); timeout -= 1; } }, }, ele1 = { navigate = function(_this) { timeout = 7; while ( timeout > 1 ) { _this.Goto(_this.Bot.GetPosition()); sleep(1); timeout -= 1; } }, }, ele2 = { navigate = function(_this) { timeout = 7; while ( timeout > 1 ) { _this.Goto(_this.Bot.GetPosition()); sleep(1); timeout -= 1; } }, }, ele3 = { navigate = function(_this) { timeout = 10; while ( timeout > 1 ) { _this.Goto(_this.Bot.GetPosition()); sleep(1); timeout -= 1; } }, }, ele4 = { navigate = function(_this) { timeout = 10; while ( timeout > 1 ) { _this.Goto(_this.Bot.GetPosition()); sleep(1); timeout -= 1; } }, }, ele5 = { navigate = function(_this) { timeout = 10; while ( timeout > 1 ) { _this.Goto(_this.Bot.GetPosition()); sleep(1); timeout -= 1; } }, }, ele6 = { navigate = function(_this) { timeout = 12; while ( timeout > 1 ) { _this.Goto(_this.Bot.GetPosition()); sleep(1); timeout -= 1; } }, }, ele7 = { navigate = function(_this) { timeout = 12; while ( timeout > 1 ) { _this.Goto(_this.Bot.GetPosition()); sleep(1); timeout -= 1; } }, }, }, }; global OnMapLoad = function() { SetMapGoalProperties("SNIPE.*", { MinCampTime=30, MaxCamptime=50,}); // both teams can use all snipe goals, so comment these out //Util.LimitToTeam( TEAM.AXIS, "SNIPE_axis.*" ); //Util.LimitToTeam( TEAM.ALLIES, "SNIPE_allied.*" ); Util.MapDebugPrint( "OnMapLoad", true ); }; global OnBotJoin = function( bot ) { Util.ChangeToSniperWeapons(bot); };