moh8888 Posted 2005年4月13日 07:27 Posted 2005年4月13日 07:27 OBJ1~OBJ4的格式不外乎都是以下 的格式,然而在单人图时却带来了任务 完成后重新开始时,不是自动进入,而要 重新选择德盟军加入,也不知是那儿的问题? S-22? THANK! /////////////////////////////////////// main: setcvar "g_gametype" "4" ////////////////////////////////////// ////////////////////////////////// level waittill prespawn ///////////////////////////////// //////////////////////////// level waittill spawn //////////////////////////// $88mm_explosive1 thread global/obj_dm.scr::bomb_thinker $88mm_explosive2 thread global/obj_dm.scr::bomb_thinker $88mm_explosive3 thread global/obj_dm.scr::bomb_thinker $88mm_explosive4 thread global/obj_dm.scr::bomb_thinker $88mm_explosive5 thread global/obj_dm.scr::bomb_thinker $88mm_explosive1 thread axis_win_timer thread allies_win_bomb $88mm_explosive1 $88mm_explosive2 $88mm_explosive3 $88mm_explosive4 $88mm_explosive5 thread bomb1_exploded $88mm_explosive1 thread bomb2_exploded $88mm_explosive2 thread bomb3_exploded $88mm_explosive3 thread bomb4_exploded $88mm_explosive4 thread bomb5_exploded $88mm_explosive5 level.bomb_damage = 200 level.bomb_explosion_radius = 240 level.defusing_team = "axis" level.planting_team = "allies" level.dmrespawning = 1 level.dmroundlimit = 20 level.clockside = axis ////////////////////////////////// level waittill roundstart /////////////////////////////////// ////// end //////以下因不同的任务而改变 axis_win_timer: level waittill axiswin end allies_win_bomb local.bomb1 local.bomb2 local.bomb3 local.bomb4 local.bomb5: while (local.bomb1.exploded != 1) waitframe while (local.bomb2.exploded != 1) waitframe while (local.bomb3.exploded != 1) waitframe while (local.bomb4.exploded != 1) waitframe while (local.bomb5.exploded != 1) waitframe teamwin allies end bomb1_exploded local.bomb1: while (local.bomb1.exploded != 1) wait 0.1 iprintlnbold "Allies have destroyed a tank" //假如任务是explode TANK打印的 end bomb2_exploded local.bomb2: while (local.bomb2.exploded != 1) wait 0.1 iprintlnbold "Allies have destroyed a tank" end bomb3_exploded local.bomb3: while (local.bomb3.exploded != 1) wait 0.1 iprintlnbold "Allies have destroyed a tank" end bomb4_exploded local.bomb4: while (local.bomb4.exploded != 1) wait 0.1 iprintlnbold "Allies have destroyed a tank" end bomb5_exploded local.bomb5: while (local.bomb5.exploded != 1) wait 0.1 iprintlnbold "Allies have destroyed a tank" end[/code]
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new account登录
Already have an account? Sign in here.
现在登录