On CTF round end

Discussion in 'Mapping Questions & Discussion' started by qpingu, Sep 13, 2008.

  1. qpingu

    qpingu L1: Registered

    Messages:
    25
    Positive Ratings:
    9
    I can't figure out how to call some events at the end of the round on my ctf map. The rocket is supposed to launch, but game_round_win doesn't do anything (OnRoundWin) and I can't find any methods or examples of doing somethings similar.

    EDIT:
    Ended up using OnCapture and a counter to do the dirty work, in case anybody has a similar problem.
     
    • Thanks Thanks x 1
    Last edited: Sep 14, 2008
  2. Lord_Blight

    Lord_Blight L1: Registered

    Messages:
    26
    Positive Ratings:
    0
    Thanks dude!! I really needed that!
     
  3. A Boojum Snark

    aa A Boojum Snark Toraipoddodezain Mazahabado

    Messages:
    4,769
    Positive Ratings:
    5,527
    The problem is, how many captures it takes to win is controlled by a server settings, so you can't always guarantee things will happen right by counting captures.
     
  4. Zeewier

    Zeewier L9: Fashionable Member

    Messages:
    619
    Positive Ratings:
    130
    You can overwrite the amount set by the server, but IMO you shouldnt touch servers settings. (therefor I won't tell you how to do it)

    You can add a cfg to the download with the recommended settings. (map_name.cfg) (I think those settings are used only for that map, and are set back to the default settings for the next map)

    You can also try to packrat it, but I don't know wheter that works or not

    Nice bump Lord Blight :p
     
    Last edited: Mar 7, 2009