Help With Timers

Discussion in 'Mapping Questions & Discussion' started by =PB= LightningStab -TPF-, Jul 21, 2016.

  1. =PB= LightningStab -TPF-

    =PB= LightningStab -TPF- L1: Registered

    Messages:
    16
    Positive Ratings:
    1
    Id like to make it so when a team capture the ctf intelligence 2 minutes is added and id like to make it so when the timers runs down Red team wins. Thanks for the help. :)
     
  2. dryerlint

    dryerlint L5: Dapper Member

    Messages:
    205
    Positive Ratings:
    183
    Check out the Valve documentation on flag-based gamemodes: https://developer.valvesoftware.com/wiki/TF2/Flag_Based_Goal_Systems

    It sounds like you want to use the item_teamflag entity. https://developer.valvesoftware.com/wiki/Item_teamflag

    To add 2 minutes upon capture, use the OnCapTeam1 Output of the item_teamflag entity, and the AddTime Input of the team_round_timer entity. https://developer.valvesoftware.com/wiki/Team_Round_timer

    To make RED win when the timer runs out, use the OnFinished Output of the team_round_timer entity.

    I've never worked with CTF before, so there might be something wrong here, reply back if you encounter any issues!