Winning Trigger

Status
Not open for further replies.
Level 3
Joined
Jun 23, 2005
Messages
24
Mastif helped me make a winning trigger for my map. It works fine but i dont want people to still be able to play the game. Is there anyway to force them to exit or something?
 
erm yes there is.... i dunno u use want this but heres how i would do it

Code:
Untitled Trigger 001
    Events
        Time - Elapsed game time is 5.00 seconds
    Conditions
    Actions
        For each (Integer A) from 1 to 10, do (Actions)
            Loop - Actions
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    If - Conditions
                        (Name of (Player((Integer A)))) Not equal to your name here
                    Then - Actions
                        Game - Defeat (Player((Integer A))) with the message: Defeat!
                    Else - Actions
                        Do nothing
 
I used something similar to that when I made the BETA system look:
Code:
BetaMode
    Events
        Time - Elapsed game time is 10.00 seconds
    Conditions
    Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                Or - Any (Conditions) are true
                    Conditions
                        (Name of Player 1 (Red)) Equal to 40k_ralle89
                        (Name of Player 1 (Red)) Equal to Darkkeijp
                        (Name of Player 1 (Red)) Equal to 40k_Mastif
                        (Name of Player 1 (Red)) Equal to 40k_GST_Nemisis
            Then - Actions
            Else - Actions
                Player Group - Pick every player in (All players) and do (Game - Defeat (Picked player) with the message: This is a BETA)
 
Status
Not open for further replies.
Back
Top